Commit 3716ef27 authored by Jose Hugo Torres's avatar Jose Hugo Torres
Browse files

Implementado subtotal e impuestos.

parent 173f8f39
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// LayawaySummary &lt;emph&gt;undocumented&lt;/emph&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiLayawayDtoLayawaySummary : IEquatable<ComGkSoftwareGkrApiLayawayDtoLayawaySummary>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLayawayDtoLayawaySummary" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiLayawayDtoLayawaySummary() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLayawayDtoLayawaySummary" /> class.
/// </summary>
/// <param name="businessUnitGroupID">BusinessUnitGroup identificator of the business unit, where the Layaway was created (required).</param>
/// <param name="layawayID">ID of the Layaway (&#x3D; Transaction ID of Layaway create TX) (required).</param>
/// <param name="createTimestamp">Timestamp when Layaway was created; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone) (required).</param>
/// <param name="createTimestampUTC0">UTC0 timestamp when Layaway was created; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone) (required).</param>
/// <param name="statusCode">Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED (required).</param>
/// <param name="suspendedFlag">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).</param>
/// <param name="rebookedFlag">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).</param>
/// <param name="claimedFlag">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).</param>
/// <param name="laywayUpdateSequence">Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last (required).</param>
/// <param name="pendingTransactionID">N/A.</param>
/// <param name="lastUpdateTimeStamp">Last change of StatusCode; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone) (required).</param>
/// <param name="lastUpdateTimeStampUTC0">UTC0 timestamp of the last change of StatusCode; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone) (required).</param>
/// <param name="customerID">Assigned customer ID to Layaway..</param>
/// <param name="expirationDate">Expiration date of the Layaway (including the tolerance time). Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone).</param>
/// <param name="expirationDateUTC0">UTC0 time of expiration date. UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone).</param>
/// <param name="expirationNotificationDate">Expiration date for customer (excluding the tolerance time). Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone).</param>
/// <param name="expirationNotificationDateUTC0">UTC0 time of expiration date for customer. UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone).</param>
/// <param name="terminationDate">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 &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone).</param>
/// <param name="terminationDateUTC0">UTC0 time of TerminationDate; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone).</param>
/// <param name="totalAmount">Total order value of the Layaway. (required).</param>
/// <param name="totalDownPaymentsAmount">Total of the already payed down payments of the Layaway. (required).</param>
/// <param name="penaltyFee">The fee has to be paid in case the customer retrieves its money back from an expired Layaway..</param>
/// <param name="cancellationFee">The fee has to be paid in case the customer is voiding the complete Layaway..</param>
/// <param name="layawayLineItemList">List of Layaway line items.</param>
/// <param name="layawayCorrelationChecksum">Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction..</param>
/// <param name="latestOrderPositionTransactionID">TransactionID for &#39;Latest Order Position Relevant TX&#39;.</param>
/// <param name="expirationDateExtendedFlag">To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed..</param>
/// <param name="xxcustom05">standard extension pattern for extending calculation in project.</param>
/// <param name="xxcustom03">standard extension pattern for extending calculation in project.</param>
/// <param name="xxcustom02">standard extension pattern for extending calculation in project.</param>
/// <param name="xxcustom04">standard extension pattern for extending calculation in project.</param>
/// <param name="xxcustom01">standard extension pattern for extending calculation in project.</param>
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<ComGkSoftwareGkrApiLayawayDtoLayawayLineItem> layawayLineItemList = default(List<ComGkSoftwareGkrApiLayawayDtoLayawayLineItem>), 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;
}
/// <summary>
/// BusinessUnitGroup identificator of the business unit, where the Layaway was created
/// </summary>
/// <value>BusinessUnitGroup identificator of the business unit, where the Layaway was created</value>
[DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)]
public string BusinessUnitGroupID { get; set; }
/// <summary>
/// ID of the Layaway (&#x3D; Transaction ID of Layaway create TX)
/// </summary>
/// <value>ID of the Layaway (&#x3D; Transaction ID of Layaway create TX)</value>
[DataMember(Name="layawayID", EmitDefaultValue=false)]
public string LayawayID { get; set; }
/// <summary>
/// Timestamp when Layaway was created; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>Timestamp when Layaway was created; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="createTimestamp", EmitDefaultValue=false)]
public string CreateTimestamp { get; set; }
/// <summary>
/// UTC0 timestamp when Layaway was created; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>UTC0 timestamp when Layaway was created; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="createTimestampUTC0", EmitDefaultValue=false)]
public DateTime? CreateTimestampUTC0 { get; set; }
/// <summary>
/// Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED
/// </summary>
/// <value>Status of the Layaway. Supported are:ACTIVEVOIDED FULLY_PAIDCLAIMEDTERMINATEDEXPIREDREBOOKED</value>
[DataMember(Name="statusCode", EmitDefaultValue=false)]
public string StatusCode { get; set; }
/// <summary>
/// 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.
/// </summary>
/// <value>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.</value>
[DataMember(Name="suspendedFlag", EmitDefaultValue=false)]
public bool? SuspendedFlag { get; set; }
/// <summary>
/// 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.
/// </summary>
/// <value>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.</value>
[DataMember(Name="rebookedFlag", EmitDefaultValue=false)]
public bool? RebookedFlag { get; set; }
/// <summary>
/// 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.
/// </summary>
/// <value>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.</value>
[DataMember(Name="claimedFlag", EmitDefaultValue=false)]
public bool? ClaimedFlag { get; set; }
/// <summary>
/// Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last
/// </summary>
/// <value>Incrementing number counting modifications of a layaway, so that it is possible to find out which LW manipulation was the last</value>
[DataMember(Name="laywayUpdateSequence", EmitDefaultValue=false)]
public int? LaywayUpdateSequence { get; set; }
/// <summary>
/// N/A
/// </summary>
/// <value>N/A</value>
[DataMember(Name="pendingTransactionID", EmitDefaultValue=false)]
public string PendingTransactionID { get; set; }
/// <summary>
/// Last change of StatusCode; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>Last change of StatusCode; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="lastUpdateTimeStamp", EmitDefaultValue=false)]
public string LastUpdateTimeStamp { get; set; }
/// <summary>
/// UTC0 timestamp of the last change of StatusCode; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>UTC0 timestamp of the last change of StatusCode; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="lastUpdateTimeStampUTC0", EmitDefaultValue=false)]
public DateTime? LastUpdateTimeStampUTC0 { get; set; }
/// <summary>
/// Assigned customer ID to Layaway.
/// </summary>
/// <value>Assigned customer ID to Layaway.</value>
[DataMember(Name="customerID", EmitDefaultValue=false)]
public string CustomerID { get; set; }
/// <summary>
/// Expiration date of the Layaway (including the tolerance time). Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>Expiration date of the Layaway (including the tolerance time). Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="expirationDate", EmitDefaultValue=false)]
public string ExpirationDate { get; set; }
/// <summary>
/// UTC0 time of expiration date. UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>UTC0 time of expiration date. UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="expirationDateUTC0", EmitDefaultValue=false)]
public DateTime? ExpirationDateUTC0 { get; set; }
/// <summary>
/// Expiration date for customer (excluding the tolerance time). Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>Expiration date for customer (excluding the tolerance time). Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="expirationNotificationDate", EmitDefaultValue=false)]
public string ExpirationNotificationDate { get; set; }
/// <summary>
/// UTC0 time of expiration date for customer. UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>UTC0 time of expiration date for customer. UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="expirationNotificationDateUTC0", EmitDefaultValue=false)]
public DateTime? ExpirationNotificationDateUTC0 { get; set; }
/// <summary>
/// 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 &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>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 &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="terminationDate", EmitDefaultValue=false)]
public string TerminationDate { get; set; }
/// <summary>
/// UTC0 time of TerminationDate; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>UTC0 time of TerminationDate; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="terminationDateUTC0", EmitDefaultValue=false)]
public DateTime? TerminationDateUTC0 { get; set; }
/// <summary>
/// Total order value of the Layaway.
/// </summary>
/// <value>Total order value of the Layaway.</value>
[DataMember(Name="totalAmount", EmitDefaultValue=false)]
public double? TotalAmount { get; set; }
/// <summary>
/// Total of the already payed down payments of the Layaway.
/// </summary>
/// <value>Total of the already payed down payments of the Layaway.</value>
[DataMember(Name="totalDownPaymentsAmount", EmitDefaultValue=false)]
public double? TotalDownPaymentsAmount { get; set; }
/// <summary>
/// The fee has to be paid in case the customer retrieves its money back from an expired Layaway.
/// </summary>
/// <value>The fee has to be paid in case the customer retrieves its money back from an expired Layaway.</value>
[DataMember(Name="penaltyFee", EmitDefaultValue=false)]
public double? PenaltyFee { get; set; }
/// <summary>
/// The fee has to be paid in case the customer is voiding the complete Layaway.
/// </summary>
/// <value>The fee has to be paid in case the customer is voiding the complete Layaway.</value>
[DataMember(Name="cancellationFee", EmitDefaultValue=false)]
public double? CancellationFee { get; set; }
/// <summary>
/// List of Layaway line items
/// </summary>
/// <value>List of Layaway line items</value>
[DataMember(Name="layawayLineItemList", EmitDefaultValue=false)]
public List<ComGkSoftwareGkrApiLayawayDtoLayawayLineItem> LayawayLineItemList { get; set; }
/// <summary>
/// Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction.
/// </summary>
/// <value>Checksum of all related layaway transactions, used to guaranteee the state of the layaway while modifying it by storing additional transaction.</value>
[DataMember(Name="layawayCorrelationChecksum", EmitDefaultValue=false)]
public string LayawayCorrelationChecksum { get; set; }
/// <summary>
/// TransactionID for &#39;Latest Order Position Relevant TX&#39;
/// </summary>
/// <value>TransactionID for &#39;Latest Order Position Relevant TX&#39;</value>
[DataMember(Name="latestOrderPositionTransactionID", EmitDefaultValue=false)]
public string LatestOrderPositionTransactionID { get; set; }
/// <summary>
/// To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed.
/// </summary>
/// <value>To know if the expiration date of a layaway was already extended.Default: falseWill only be changed if Extended Layaway TX is consumed.</value>
[DataMember(Name="expirationDateExtendedFlag", EmitDefaultValue=false)]
public bool? ExpirationDateExtendedFlag { get; set; }
/// <summary>
/// standard extension pattern for extending calculation in project
/// </summary>
/// <value>standard extension pattern for extending calculation in project</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// standard extension pattern for extending calculation in project
/// </summary>
/// <value>standard extension pattern for extending calculation in project</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// standard extension pattern for extending calculation in project
/// </summary>
/// <value>standard extension pattern for extending calculation in project</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// standard extension pattern for extending calculation in project
/// </summary>
/// <value>standard extension pattern for extending calculation in project</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// standard extension pattern for extending calculation in project
/// </summary>
/// <value>standard extension pattern for extending calculation in project</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiLayawayDtoLayawaySummary);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiLayawayDtoLayawaySummary instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiLayawayDtoLayawaySummary to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// WorkstationCommand &lt;p&gt;This DB table contains info about commands for POSes registered by POS server processes.&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand : IEquatable<ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="command">designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE) (required).</param>
/// <param name="createTimestamp">time of creation; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone) (required).</param>
/// <param name="createTimestampUTC0">UTC0 time of creation; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone) (required).</param>
/// <param name="xxcustom05">Customizable information.</param>
/// <param name="xxcustom03">Customizable information.</param>
/// <param name="xxcustom02">Customizable information.</param>
/// <param name="xxcustom04">Customizable information.</param>
/// <param name="xxcustom01">Customizable information.</param>
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;
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey Key { get; set; }
/// <summary>
/// designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE)
/// </summary>
/// <value>designed for POS server processes (e.g. EOD) to set some commands to POSes (e.g. PERFORM_EOD_PROCEDURE)</value>
[DataMember(Name="command", EmitDefaultValue=false)]
public string Command { get; set; }
/// <summary>
/// time of creation; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>time of creation; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="createTimestamp", EmitDefaultValue=false)]
public string CreateTimestamp { get; set; }
/// <summary>
/// UTC0 time of creation; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>UTC0 time of creation; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="createTimestampUTC0", EmitDefaultValue=false)]
public DateTime? CreateTimestampUTC0 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommand to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// WorkstationCommand.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey : IEquatable<ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey" /> class.
/// </summary>
/// <param name="businessUnitGroupID">store ID (required).</param>
/// <param name="workstationID">workstation ID (required).</param>
/// <param name="sessionID">designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS (required).</param>
/// <param name="commandID">identificator for deleting by POS&#39;s (required).</param>
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;
}
}
/// <summary>
/// store ID
/// </summary>
/// <value>store ID</value>
[DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)]
public string BusinessUnitGroupID { get; set; }
/// <summary>
/// workstation ID
/// </summary>
/// <value>workstation ID</value>
[DataMember(Name="workstationID", EmitDefaultValue=false)]
public string WorkstationID { get; set; }
/// <summary>
/// designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS
/// </summary>
/// <value>designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS</value>
[DataMember(Name="sessionID", EmitDefaultValue=false)]
public string SessionID { get; set; }
/// <summary>
/// identificator for deleting by POS&#39;s
/// </summary>
/// <value>identificator for deleting by POS&#39;s</value>
[DataMember(Name="commandID", EmitDefaultValue=false)]
public string CommandID { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationCommandKey to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// WorkstationStatus &lt;p&gt;This DB table contains information about&lt;/p&gt;&lt;ul&gt;&lt;li&gt;online/offline workstations&lt;/li&gt;&lt;li&gt;sign-on (also paused) / sign-off operators on workstations&lt;/li&gt;&lt;/ul&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus : IEquatable<ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="workstationLastConnectedAddress">last workstation client address (IP + DNS name) (required).</param>
/// <param name="workstationLastConnectedTimestamp">the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp &gt; TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone).</param>
/// <param name="loginType">POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations (required).</param>
/// <param name="operatorID">signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline.</param>
/// <param name="workstationLastConnectedTimestampUTC0">the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp &gt; TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone).</param>
/// <param name="token">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..</param>
/// <param name="xxcustom05">Customizable information.</param>
/// <param name="xxcustom03">Customizable information.</param>
/// <param name="xxcustom02">Customizable information.</param>
/// <param name="xxcustom04">Customizable information.</param>
/// <param name="xxcustom01">Customizable information.</param>
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;
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey Key { get; set; }
/// <summary>
/// last workstation client address (IP + DNS name)
/// </summary>
/// <value>last workstation client address (IP + DNS name)</value>
[DataMember(Name="workstationLastConnectedAddress", EmitDefaultValue=false)]
public string WorkstationLastConnectedAddress { get; set; }
/// <summary>
/// the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp &gt; TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>the time of last workstation ping.if current time - WorkstationLastConnectedTimestamp &gt; TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="workstationLastConnectedTimestamp", EmitDefaultValue=false)]
public string WorkstationLastConnectedTimestamp { get; set; }
/// <summary>
/// POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations
/// </summary>
/// <value>POS, ACCOUNTING, TECHNICAL - this info is used for concurrency check when the operator tries to login on more workstations</value>
[DataMember(Name="loginType", EmitDefaultValue=false)]
public string LoginType { get; set; }
/// <summary>
/// signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline
/// </summary>
/// <value>signed operator id. EMPTY if operator does sign off.the information is not guaranteed if workstation is considered as offline</value>
[DataMember(Name="operatorID", EmitDefaultValue=false)]
public string OperatorID { get; set; }
/// <summary>
/// the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp &gt; TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>the UTC0 time of last workstation ping.if current time - WorkstationLastConnectedTimestamp &gt; TIMEOUT (property pos_server.login_manager.timeout)then workstation is considered as offline; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="workstationLastConnectedTimestampUTC0", EmitDefaultValue=false)]
public DateTime? WorkstationLastConnectedTimestampUTC0 { get; set; }
/// <summary>
/// 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.
/// </summary>
/// <value>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.</value>
[DataMember(Name="token", EmitDefaultValue=false)]
public string Token { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatus to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// WorkstationStatus.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey : IEquatable<ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey" /> class.
/// </summary>
/// <param name="businessUnitGroupID">store ID (required).</param>
/// <param name="workstationID">workstation ID (required).</param>
/// <param name="sessionID">designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS (required).</param>
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;
}
}
/// <summary>
/// store ID
/// </summary>
/// <value>store ID</value>
[DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)]
public string BusinessUnitGroupID { get; set; }
/// <summary>
/// workstation ID
/// </summary>
/// <value>workstation ID</value>
[DataMember(Name="workstationID", EmitDefaultValue=false)]
public string WorkstationID { get; set; }
/// <summary>
/// designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS
/// </summary>
/// <value>designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS</value>
[DataMember(Name="sessionID", EmitDefaultValue=false)]
public string SessionID { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationStatusKey to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// WorkstationTenderRepositoryStatus &lt;p&gt;This DB table contains about save and tills used on workstations.&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus : IEquatable<ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="tenderRepositoryClassType">TI, SA (required).</param>
/// <param name="exclusiveLevel">0, 1, 2 - see business concept (required).</param>
/// <param name="xxcustom05">Customizable information.</param>
/// <param name="xxcustom03">Customizable information.</param>
/// <param name="xxcustom02">Customizable information.</param>
/// <param name="xxcustom04">Customizable information.</param>
/// <param name="xxcustom01">Customizable information.</param>
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;
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey Key { get; set; }
/// <summary>
/// TI, SA
/// </summary>
/// <value>TI, SA</value>
[DataMember(Name="tenderRepositoryClassType", EmitDefaultValue=false)]
public string TenderRepositoryClassType { get; set; }
/// <summary>
/// 0, 1, 2 - see business concept
/// </summary>
/// <value>0, 1, 2 - see business concept</value>
[DataMember(Name="exclusiveLevel", EmitDefaultValue=false)]
public int? ExclusiveLevel { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// Customizable information
/// </summary>
/// <value>Customizable information</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatus to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// WorkstationTenderRepositoryStatus.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey : IEquatable<ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey" /> class.
/// </summary>
/// <param name="businessUnitGroupID">store ID (required).</param>
/// <param name="workstationID">workstation ID (required).</param>
/// <param name="sessionID">designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS (required).</param>
/// <param name="tenderRepositoryID">assigned till or safe (required).</param>
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;
}
}
/// <summary>
/// store ID
/// </summary>
/// <value>store ID</value>
[DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)]
public string BusinessUnitGroupID { get; set; }
/// <summary>
/// workstation ID
/// </summary>
/// <value>workstation ID</value>
[DataMember(Name="workstationID", EmitDefaultValue=false)]
public string WorkstationID { get; set; }
/// <summary>
/// designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS
/// </summary>
/// <value>designed for POS server functions - the unique id from special pool will be generated&#39;0&#39; for POS</value>
[DataMember(Name="sessionID", EmitDefaultValue=false)]
public string SessionID { get; set; }
/// <summary>
/// assigned till or safe
/// </summary>
/// <value>assigned till or safe</value>
[DataMember(Name="tenderRepositoryID", EmitDefaultValue=false)]
public string TenderRepositoryID { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiLoginManagerDtoWorkstationTenderRepositoryStatusKey to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// LineItemRefundData &lt;emph&gt;undocumented&lt;/emph&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData : IEquatable<ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="returnedQuantity">returned quantity (required).</param>
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;
}
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey Key { get; set; }
/// <summary>
/// returned quantity
/// </summary>
/// <value>returned quantity</value>
[DataMember(Name="returnedQuantity", EmitDefaultValue=false)]
public double? ReturnedQuantity { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// LineItemRefundData.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey : IEquatable<ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey" /> class.
/// </summary>
/// <param name="retailTransactionLineItemSequenceNumber">line item number (required).</param>
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;
}
}
/// <summary>
/// line item number
/// </summary>
/// <value>line item number</value>
[DataMember(Name="retailTransactionLineItemSequenceNumber", EmitDefaultValue=false)]
public int? RetailTransactionLineItemSequenceNumber { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundDataKey input)
{
if (input == null)
return false;
return
(
this.RetailTransactionLineItemSequenceNumber == input.RetailTransactionLineItemSequenceNumber ||
(this.RetailTransactionLineItemSequenceNumber != null &&
this.RetailTransactionLineItemSequenceNumber.Equals(input.RetailTransactionLineItemSequenceNumber))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// RefundTransaction &lt;emph&gt;undocumented&lt;/emph&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction : IEquatable<ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction" /> class.
/// </summary>
/// <param name="transaction">transaction data of the loaded transaction (required).</param>
/// <param name="checksum">Transaction checksum, mandatory parameter for checked calls (required).</param>
/// <param name="lineItemRefundDataList">list of RefundData of line items.</param>
public ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction(ComGkSoftwareGkrApiTxpoolDtoTransaction transaction = default(ComGkSoftwareGkrApiTxpoolDtoTransaction), string checksum = default(string), List<ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData> lineItemRefundDataList = default(List<ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData>))
{
// 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;
}
/// <summary>
/// transaction data of the loaded transaction
/// </summary>
/// <value>transaction data of the loaded transaction</value>
[DataMember(Name="transaction", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiTxpoolDtoTransaction Transaction { get; set; }
/// <summary>
/// Transaction checksum, mandatory parameter for checked calls
/// </summary>
/// <value>Transaction checksum, mandatory parameter for checked calls</value>
[DataMember(Name="checksum", EmitDefaultValue=false)]
public string Checksum { get; set; }
/// <summary>
/// list of RefundData of line items
/// </summary>
/// <value>list of RefundData of line items</value>
[DataMember(Name="lineItemRefundDataList", EmitDefaultValue=false)]
public List<ComGkSoftwareGkrApiRefundServiceDtoLineItemRefundData> LineItemRefundDataList { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiRefundServiceDtoRefundTransaction to be compared</param>
/// <returns>Boolean</returns>
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)
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// TranslationDO &lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO : IEquatable<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="translationValue">&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;.</param>
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;
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey Key { get; set; }
/// <summary>
/// &lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="translationValue", EmitDefaultValue=false)]
public string TranslationValue { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// TranslationDO.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey : IEquatable<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey" /> class.
/// </summary>
/// <param name="tid">&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt; (required).</param>
/// <param name="languageID">&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt; (required).</param>
/// <param name="translationKey">&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt; (required).</param>
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;
}
}
/// <summary>
/// &lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="tid", EmitDefaultValue=false)]
public string Tid { get; set; }
/// <summary>
/// &lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="languageID", EmitDefaultValue=false)]
public string LanguageID { get; set; }
/// <summary>
/// &lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;TODO&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="translationKey", EmitDefaultValue=false)]
public string TranslationKey { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDOKey to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BankAccount &lt;p&gt;Information about bank account.&lt;br /&gt;&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount" /> class.
/// </summary>
/// <param name="bankDescription">&lt;p&gt;Bank description.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="bankAccountNumber">&lt;p&gt;Bank account number in a national format, not international.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="nationalBankIdentificationCode">&lt;p&gt;Bank identification code in a national format.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="internationalBankAccountNumber">&lt;p&gt;International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="bankIdentificationCode">&lt;p&gt;Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="bankAccountTypeCode">&lt;p&gt;This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom05">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom03">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom02">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom04">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom01">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
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;
}
/// <summary>
/// &lt;p&gt;Bank description.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Bank description.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="bankDescription", EmitDefaultValue=false)]
public string BankDescription { get; set; }
/// <summary>
/// &lt;p&gt;Bank account number in a national format, not international.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Bank account number in a national format, not international.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="bankAccountNumber", EmitDefaultValue=false)]
public string BankAccountNumber { get; set; }
/// <summary>
/// &lt;p&gt;Bank identification code in a national format.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Bank identification code in a national format.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="nationalBankIdentificationCode", EmitDefaultValue=false)]
public string NationalBankIdentificationCode { get; set; }
/// <summary>
/// &lt;p&gt;International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;International bank account number (IBAN). A standard number standardized in accordance with the ECBS (European Commitee for Banking Standards) to represent bank details.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="internationalBankAccountNumber", EmitDefaultValue=false)]
public string InternationalBankAccountNumber { get; set; }
/// <summary>
/// &lt;p&gt;Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Bank identification code in the international format (BIC). Uniquely identifies a bank throughout the world.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="bankIdentificationCode", EmitDefaultValue=false)]
public string BankIdentificationCode { get; set; }
/// <summary>
/// &lt;p&gt;This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;This type code is used to differ between multiple bank accounts. Optional - if not provided then filled in the import.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="bankAccountTypeCode", EmitDefaultValue=false)]
public string BankAccountTypeCode { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BusinessUnitContactFilter &lt;p&gt;Filter for searching of address&lt;br /&gt;&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter>, IValidatableObject
{
/// <summary>
/// Defines BusinessUnitStatusCode
/// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum BusinessUnitStatusCodeEnum
{
/// <summary>
/// Enum ENABLED for value: ENABLED
/// </summary>
[EnumMember(Value = "ENABLED")]
ENABLED = 1,
/// <summary>
/// Enum DISABLED for value: DISABLED
/// </summary>
[EnumMember(Value = "DISABLED")]
DISABLED = 2,
/// <summary>
/// Enum SCHEDULEDFORDELETION for value: SCHEDULED_FOR_DELETION
/// </summary>
[EnumMember(Value = "SCHEDULED_FOR_DELETION")]
SCHEDULEDFORDELETION = 3,
/// <summary>
/// Enum DELETED for value: DELETED
/// </summary>
[EnumMember(Value = "DELETED")]
DELETED = 4
}
/// <summary>
/// Gets or Sets BusinessUnitStatusCode
/// </summary>
[DataMember(Name="businessUnitStatusCode", EmitDefaultValue=false)]
public BusinessUnitStatusCodeEnum? BusinessUnitStatusCode { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter" /> class.
/// </summary>
/// <param name="businessUnitID">&lt;p&gt;Identifier for a retail store, distribution center or administration center (internal identifier).&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="businessUnitGroupID">&lt;p&gt;Identifier for a group of business units.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="street">&lt;p&gt;Street&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="city">&lt;p&gt;City&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="postalCode">&lt;p&gt;Postal code&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="businessUnitStatusCode">businessUnitStatusCode.</param>
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;
}
/// <summary>
/// &lt;p&gt;Identifier for a retail store, distribution center or administration center (internal identifier).&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Identifier for a retail store, distribution center or administration center (internal identifier).&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitID", EmitDefaultValue=false)]
public string BusinessUnitID { get; set; }
/// <summary>
/// &lt;p&gt;Identifier for a group of business units.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Identifier for a group of business units.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)]
public string BusinessUnitGroupID { get; set; }
/// <summary>
/// &lt;p&gt;Street&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Street&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="street", EmitDefaultValue=false)]
public string Street { get; set; }
/// <summary>
/// &lt;p&gt;City&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;City&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="city", EmitDefaultValue=false)]
public string City { get; set; }
/// <summary>
/// &lt;p&gt;Postal code&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Postal code&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="postalCode", EmitDefaultValue=false)]
public string PostalCode { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitContactFilter to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BusinessUnitDO &lt;p&gt;A retail store, distribution center or administration center at which the retailer conducts retail operations.&lt;br /&gt;&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO>, IValidatableObject
{
/// <summary>
/// &lt;p&gt;The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.&lt;br /&gt;&lt;/p&gt;</value>
[JsonConverter(typeof(StringEnumConverter))]
public enum BusinessUnitStatusCodeEnum
{
/// <summary>
/// Enum ENABLED for value: ENABLED
/// </summary>
[EnumMember(Value = "ENABLED")]
ENABLED = 1,
/// <summary>
/// Enum DISABLED for value: DISABLED
/// </summary>
[EnumMember(Value = "DISABLED")]
DISABLED = 2,
/// <summary>
/// Enum SCHEDULEDFORDELETION for value: SCHEDULED_FOR_DELETION
/// </summary>
[EnumMember(Value = "SCHEDULED_FOR_DELETION")]
SCHEDULEDFORDELETION = 3,
/// <summary>
/// Enum DELETED for value: DELETED
/// </summary>
[EnumMember(Value = "DELETED")]
DELETED = 4
}
/// <summary>
/// &lt;p&gt;The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitStatusCode", EmitDefaultValue=false)]
public BusinessUnitStatusCodeEnum? BusinessUnitStatusCode { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="externalBusinessUnitID">&lt;p&gt;External identifier for the business unit.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="parentBusinessUnitGroupID">&lt;p&gt;ID of the parent business unit group&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="parentExternalBusinessUnitGroupID">&lt;p&gt;External ID of the parent business unit group&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="businessUnitGroupLevelID">&lt;p&gt;A unique internal identifier for a level within the business unit grouping hierarchy.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="externalBusinessUnitGroupLevelID">&lt;p&gt;Name of the level within the business unit grouping hierarchy (external identifier of level).&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="globalLocationNumber">&lt;p&gt;Global location number&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="vatRegistrationNumber">&lt;p&gt;VAT registration number&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="isoCountryCode">&lt;p&gt;The country code of the store.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="timeZoneCode">&lt;p&gt;SAP time zone code&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="timeZoneLongID">&lt;p&gt;ID of the time zone in the Java format (e.g. &#39;US/Eastern&#39;, &#39;Europe/Prague&#39;)&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="languageID">&lt;p&gt;ISO-Code of the language which is used in the business unit&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="name">&lt;p&gt;The name of the business unit&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="surrogateName">&lt;p&gt;The surrogate name of the business unit&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="gkEffectiveDate">&lt;p&gt;Effective date of the assignment to the GK&lt;br /&gt;&lt;/p&gt; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone).</param>
/// <param name="regionFlag">&lt;p&gt;Determines the assignment to the RG business unit group hierarchy&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="independentRetailerFlag">&lt;p&gt;Determines the assignment to the SEH business unit group hierarchy&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="ownerOfMultipleStoresParentID">&lt;p&gt;ID of the parent business unit group with the function code &#39;OMS&#39;&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="gkSystemFlag">&lt;p&gt;Determines whether the GK system is installed in the store or not&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="mainCurrencyID">&lt;p&gt;Identifier of the main currency of the retail store.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="exportToGfkFlag">&lt;p&gt;Determines whether this store provides data to the GFK organization&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="size">&lt;p&gt;The size of the retail store. This is usually split by the non-sales and sales areas.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="sellingAreaSize">&lt;p&gt;The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="merchandiseHierarchyFunctionCode">&lt;p&gt;Code of the MerchandiseHierarchyFunction which is relevant for that store&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="includesSalesTaxFlag">&lt;p&gt;Indicates if the prices include all applicable sales taxes or not.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="taxNumber">&lt;p&gt;The company&#39;s tax number given by the tax office (this is not the sales tax ID).&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="alternateISOCurrencyCode">&lt;p&gt;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)&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="mainWeighingUnit">&lt;p&gt;The name of the unit which is mainly used for weighing information&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="purchasingOrganization">&lt;p&gt;An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="receiverLocationList">&lt;p&gt;List of receiving locations.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="companyCodeList">&lt;p&gt;List of company codes of the store.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="bankAccountList">&lt;p&gt;List of bank accounts&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="partyID">&lt;p&gt;ID of the party information&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="party">&lt;p&gt;Reference to the party structure&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="contact">&lt;p&gt;List of contacts&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="translationList">&lt;p&gt;List of translations for the business unit.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="packageID">&lt;p&gt;Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="salesOrganizationID">&lt;p&gt;Identifier of an organizational unit responsible for the sale of certain products or services.&lt;br /&gt; The responsibility of a sales organization may include legal liability for products and customer claims.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="distributionChannelTypeCode">&lt;p&gt;Distribution channel is the way in which products or services reach the customer.&lt;br /&gt; Typical examples of distribution channels are wholesale, retail, or direct sales.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="deleteTimestampUTC0">&lt;p&gt;The UTC0 date and time when the business unit was finally deleted&lt;br /&gt;&lt;/p&gt; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone).</param>
/// <param name="businessUnitStatusCode">&lt;p&gt;The status of business unit. Possible values include the codes for enabled, disabled, scheduled for deletion, deleted.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="latitudeDecimalDegrees">&lt;p&gt;Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="longitudeDecimalDegrees">&lt;p&gt;Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="tid">&lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom08">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom10">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom09">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom07">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom05">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom06">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom11">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom12">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom13">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom14">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom15">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom03">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom02">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom04">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom16">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom17">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom18">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom19">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom20">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom21">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom22">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom23">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom24">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom25">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom26">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom27">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom28">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom29">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom30">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom01">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
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<string> receiverLocationList = default(List<string>), List<string> companyCodeList = default(List<string>), List<ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount> bankAccountList = default(List<ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount>), string partyID = default(string), ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO party = default(ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO), ComGkSoftwareGkrApiServerMdContactDtoDomContactDO contact = default(ComGkSoftwareGkrApiServerMdContactDtoDomContactDO), List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO> translationList = default(List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO>), 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;
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey Key { get; set; }
/// <summary>
/// &lt;p&gt;External identifier for the business unit.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;External identifier for the business unit.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="externalBusinessUnitID", EmitDefaultValue=false)]
public string ExternalBusinessUnitID { get; set; }
/// <summary>
/// &lt;p&gt;ID of the parent business unit group&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;ID of the parent business unit group&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="parentBusinessUnitGroupID", EmitDefaultValue=false)]
public string ParentBusinessUnitGroupID { get; set; }
/// <summary>
/// &lt;p&gt;External ID of the parent business unit group&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;External ID of the parent business unit group&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="parentExternalBusinessUnitGroupID", EmitDefaultValue=false)]
public string ParentExternalBusinessUnitGroupID { get; set; }
/// <summary>
/// &lt;p&gt;A unique internal identifier for a level within the business unit grouping hierarchy.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;A unique internal identifier for a level within the business unit grouping hierarchy.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitGroupLevelID", EmitDefaultValue=false)]
public string BusinessUnitGroupLevelID { get; set; }
/// <summary>
/// &lt;p&gt;Name of the level within the business unit grouping hierarchy (external identifier of level).&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Name of the level within the business unit grouping hierarchy (external identifier of level).&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="externalBusinessUnitGroupLevelID", EmitDefaultValue=false)]
public string ExternalBusinessUnitGroupLevelID { get; set; }
/// <summary>
/// &lt;p&gt;Global location number&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Global location number&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="globalLocationNumber", EmitDefaultValue=false)]
public string GlobalLocationNumber { get; set; }
/// <summary>
/// &lt;p&gt;VAT registration number&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;VAT registration number&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="vatRegistrationNumber", EmitDefaultValue=false)]
public string VatRegistrationNumber { get; set; }
/// <summary>
/// &lt;p&gt;The country code of the store.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The country code of the store.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="isoCountryCode", EmitDefaultValue=false)]
public string IsoCountryCode { get; set; }
/// <summary>
/// &lt;p&gt;SAP time zone code&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;SAP time zone code&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="timeZoneCode", EmitDefaultValue=false)]
public string TimeZoneCode { get; set; }
/// <summary>
/// &lt;p&gt;ID of the time zone in the Java format (e.g. &#39;US/Eastern&#39;, &#39;Europe/Prague&#39;)&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;ID of the time zone in the Java format (e.g. &#39;US/Eastern&#39;, &#39;Europe/Prague&#39;)&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="timeZoneLongID", EmitDefaultValue=false)]
public string TimeZoneLongID { get; set; }
/// <summary>
/// &lt;p&gt;ISO-Code of the language which is used in the business unit&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;ISO-Code of the language which is used in the business unit&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="languageID", EmitDefaultValue=false)]
public string LanguageID { get; set; }
/// <summary>
/// &lt;p&gt;The name of the business unit&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The name of the business unit&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="name", EmitDefaultValue=false)]
public string Name { get; set; }
/// <summary>
/// &lt;p&gt;The surrogate name of the business unit&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The surrogate name of the business unit&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="surrogateName", EmitDefaultValue=false)]
public string SurrogateName { get; set; }
/// <summary>
/// &lt;p&gt;Effective date of the assignment to the GK&lt;br /&gt;&lt;/p&gt; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)
/// </summary>
/// <value>&lt;p&gt;Effective date of the assignment to the GK&lt;br /&gt;&lt;/p&gt; Date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSS&#39; (no timezone)</value>
[DataMember(Name="gkEffectiveDate", EmitDefaultValue=false)]
public string GkEffectiveDate { get; set; }
/// <summary>
/// &lt;p&gt;Determines the assignment to the RG business unit group hierarchy&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Determines the assignment to the RG business unit group hierarchy&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="regionFlag", EmitDefaultValue=false)]
public bool? RegionFlag { get; set; }
/// <summary>
/// &lt;p&gt;Determines the assignment to the SEH business unit group hierarchy&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Determines the assignment to the SEH business unit group hierarchy&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="independentRetailerFlag", EmitDefaultValue=false)]
public bool? IndependentRetailerFlag { get; set; }
/// <summary>
/// &lt;p&gt;ID of the parent business unit group with the function code &#39;OMS&#39;&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;ID of the parent business unit group with the function code &#39;OMS&#39;&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="ownerOfMultipleStoresParentID", EmitDefaultValue=false)]
public string OwnerOfMultipleStoresParentID { get; set; }
/// <summary>
/// &lt;p&gt;Determines whether the GK system is installed in the store or not&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Determines whether the GK system is installed in the store or not&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="gkSystemFlag", EmitDefaultValue=false)]
public bool? GkSystemFlag { get; set; }
/// <summary>
/// &lt;p&gt;Identifier of the main currency of the retail store.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Identifier of the main currency of the retail store.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="mainCurrencyID", EmitDefaultValue=false)]
public string MainCurrencyID { get; set; }
/// <summary>
/// &lt;p&gt;Determines whether this store provides data to the GFK organization&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Determines whether this store provides data to the GFK organization&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="exportToGfkFlag", EmitDefaultValue=false)]
public bool? ExportToGfkFlag { get; set; }
/// <summary>
/// &lt;p&gt;The size of the retail store. This is usually split by the non-sales and sales areas.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The size of the retail store. This is usually split by the non-sales and sales areas.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="size", EmitDefaultValue=false)]
public double? Size { get; set; }
/// <summary>
/// &lt;p&gt;The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The size of the selling floor. In a large store this is further split by the sales floor and by the merchandise departments.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="sellingAreaSize", EmitDefaultValue=false)]
public double? SellingAreaSize { get; set; }
/// <summary>
/// &lt;p&gt;Code of the MerchandiseHierarchyFunction which is relevant for that store&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Code of the MerchandiseHierarchyFunction which is relevant for that store&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="merchandiseHierarchyFunctionCode", EmitDefaultValue=false)]
public string MerchandiseHierarchyFunctionCode { get; set; }
/// <summary>
/// &lt;p&gt;Indicates if the prices include all applicable sales taxes or not.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Indicates if the prices include all applicable sales taxes or not.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="includesSalesTaxFlag", EmitDefaultValue=false)]
public bool? IncludesSalesTaxFlag { get; set; }
/// <summary>
/// &lt;p&gt;The company&#39;s tax number given by the tax office (this is not the sales tax ID).&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The company&#39;s tax number given by the tax office (this is not the sales tax ID).&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="taxNumber", EmitDefaultValue=false)]
public string TaxNumber { get; set; }
/// <summary>
/// &lt;p&gt;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)&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;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)&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="alternateISOCurrencyCode", EmitDefaultValue=false)]
public string AlternateISOCurrencyCode { get; set; }
/// <summary>
/// &lt;p&gt;The name of the unit which is mainly used for weighing information&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The name of the unit which is mainly used for weighing information&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="mainWeighingUnit", EmitDefaultValue=false)]
public string MainWeighingUnit { get; set; }
/// <summary>
/// &lt;p&gt;An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;An organizational unit responsible for procuring materials or services for one or more plants and for negotiating general conditions of purchase with suppliers.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="purchasingOrganization", EmitDefaultValue=false)]
public string PurchasingOrganization { get; set; }
/// <summary>
/// &lt;p&gt;List of receiving locations.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;List of receiving locations.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="receiverLocationList", EmitDefaultValue=false)]
public List<string> ReceiverLocationList { get; set; }
/// <summary>
/// &lt;p&gt;List of company codes of the store.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;List of company codes of the store.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="companyCodeList", EmitDefaultValue=false)]
public List<string> CompanyCodeList { get; set; }
/// <summary>
/// &lt;p&gt;List of bank accounts&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;List of bank accounts&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="bankAccountList", EmitDefaultValue=false)]
public List<ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBankAccount> BankAccountList { get; set; }
/// <summary>
/// &lt;p&gt;ID of the party information&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;ID of the party information&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="partyID", EmitDefaultValue=false)]
public string PartyID { get; set; }
/// <summary>
/// &lt;p&gt;Reference to the party structure&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Reference to the party structure&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="party", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiServerMdPartyDtoDomPartyDO Party { get; set; }
/// <summary>
/// &lt;p&gt;List of contacts&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;List of contacts&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="contact", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiServerMdContactDtoDomContactDO Contact { get; set; }
/// <summary>
/// &lt;p&gt;List of translations for the business unit.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;List of translations for the business unit.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="translationList", EmitDefaultValue=false)]
public List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO> TranslationList { get; set; }
/// <summary>
/// &lt;p&gt;Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="packageID", EmitDefaultValue=false)]
public string PackageID { get; set; }
/// <summary>
/// &lt;p&gt;Identifier of an organizational unit responsible for the sale of certain products or services.&lt;br /&gt; The responsibility of a sales organization may include legal liability for products and customer claims.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Identifier of an organizational unit responsible for the sale of certain products or services.&lt;br /&gt; The responsibility of a sales organization may include legal liability for products and customer claims.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="salesOrganizationID", EmitDefaultValue=false)]
public string SalesOrganizationID { get; set; }
/// <summary>
/// &lt;p&gt;Distribution channel is the way in which products or services reach the customer.&lt;br /&gt; Typical examples of distribution channels are wholesale, retail, or direct sales.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Distribution channel is the way in which products or services reach the customer.&lt;br /&gt; Typical examples of distribution channels are wholesale, retail, or direct sales.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="distributionChannelTypeCode", EmitDefaultValue=false)]
public string DistributionChannelTypeCode { get; set; }
/// <summary>
/// &lt;p&gt;The UTC0 date and time when the business unit was finally deleted&lt;br /&gt;&lt;/p&gt; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)
/// </summary>
/// <value>&lt;p&gt;The UTC0 date and time when the business unit was finally deleted&lt;br /&gt;&lt;/p&gt; UTC0 date format &#39;yyyy-MM-dd&#39;T&#39;HH:mm:ss.SSSZ&#39; (with timezone)</value>
[DataMember(Name="deleteTimestampUTC0", EmitDefaultValue=false)]
public DateTime? DeleteTimestampUTC0 { get; set; }
/// <summary>
/// &lt;p&gt;Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Geo positional co-ordinates of a business unit specifying its latitude using Decimal Degrees system (ISO 6709).&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="latitudeDecimalDegrees", EmitDefaultValue=false)]
public double? LatitudeDecimalDegrees { get; set; }
/// <summary>
/// &lt;p&gt;Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Geo positional co-ordinates of a business unit specifying its longitude using Decimal Degrees system (ISO 6709).&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="longitudeDecimalDegrees", EmitDefaultValue=false)]
public double? LongitudeDecimalDegrees { get; set; }
/// <summary>
/// &lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="tid", EmitDefaultValue=false)]
public string Tid { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom08", EmitDefaultValue=false)]
public string Xxcustom08 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom10", EmitDefaultValue=false)]
public string Xxcustom10 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom09", EmitDefaultValue=false)]
public string Xxcustom09 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom07", EmitDefaultValue=false)]
public string Xxcustom07 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom06", EmitDefaultValue=false)]
public string Xxcustom06 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom11", EmitDefaultValue=false)]
public string Xxcustom11 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom12", EmitDefaultValue=false)]
public string Xxcustom12 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom13", EmitDefaultValue=false)]
public string Xxcustom13 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom14", EmitDefaultValue=false)]
public string Xxcustom14 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom15", EmitDefaultValue=false)]
public string Xxcustom15 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom16", EmitDefaultValue=false)]
public string Xxcustom16 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom17", EmitDefaultValue=false)]
public string Xxcustom17 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom18", EmitDefaultValue=false)]
public string Xxcustom18 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom19", EmitDefaultValue=false)]
public string Xxcustom19 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom20", EmitDefaultValue=false)]
public string Xxcustom20 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom21", EmitDefaultValue=false)]
public string Xxcustom21 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom22", EmitDefaultValue=false)]
public string Xxcustom22 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom23", EmitDefaultValue=false)]
public string Xxcustom23 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom24", EmitDefaultValue=false)]
public string Xxcustom24 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom25", EmitDefaultValue=false)]
public string Xxcustom25 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom26", EmitDefaultValue=false)]
public string Xxcustom26 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom27", EmitDefaultValue=false)]
public string Xxcustom27 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom28", EmitDefaultValue=false)]
public string Xxcustom28 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom29", EmitDefaultValue=false)]
public string Xxcustom29 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom30", EmitDefaultValue=false)]
public string Xxcustom30 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDO to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BusinessUnitDO.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey" /> class.
/// </summary>
/// <param name="businessUnitID">&lt;p&gt;A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).&lt;br /&gt;&lt;/p&gt; (required).</param>
/// <param name="businessUnitGroupID">&lt;p&gt;A unique system assigned identifier for the group of business units.&lt;br /&gt;&lt;/p&gt; (required).</param>
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;
}
}
/// <summary>
/// &lt;p&gt;A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;A unique retailer assigned identifier for a retail store, distribution center or administration center (internal identifier).&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitID", EmitDefaultValue=false)]
public string BusinessUnitID { get; set; }
/// <summary>
/// &lt;p&gt;A unique system assigned identifier for the group of business units.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;A unique system assigned identifier for the group of business units.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)]
public string BusinessUnitGroupID { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitDtoDomBusinessUnitDOKey to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BusinessUnitGroupDO &lt;p&gt;A related group of administration centers, distribution centers and retail stores, with names like group, cluster, region, district, zone and state.&lt;br /&gt; 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;amp; only one BusinessUnit.&lt;br /&gt;&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="languageID">&lt;p&gt;Language of the business unit group.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="name">&lt;p&gt;The common name for the business unit group&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="externalBusinessUnitGroupID">&lt;p&gt;External identifier of the business unit group.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="businessUnitGroupFunctionID">&lt;p&gt;A business function for which business unit groups are placed into separate grouping hierarchies.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="businessUnitGroupLevelID">&lt;p&gt;A unique internal identifier for a level within the business unit grouping hierarchy.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="businessUnitGroupDepth">&lt;p&gt;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.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="translationList">&lt;p&gt;List of translations for business unit group.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="tid">&lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom08">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom10">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom09">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom07">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom05">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom06">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom11">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom12">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom13">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom14">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom15">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom03">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom02">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom04">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom16">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom17">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom18">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom19">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom20">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom21">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom22">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom23">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom24">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom25">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom26">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom27">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom28">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom29">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom30">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom01">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
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<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO> translationList = default(List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO>), 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;
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey Key { get; set; }
/// <summary>
/// &lt;p&gt;Language of the business unit group.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Language of the business unit group.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="languageID", EmitDefaultValue=false)]
public string LanguageID { get; set; }
/// <summary>
/// &lt;p&gt;The common name for the business unit group&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The common name for the business unit group&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="name", EmitDefaultValue=false)]
public string Name { get; set; }
/// <summary>
/// &lt;p&gt;External identifier of the business unit group.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;External identifier of the business unit group.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="externalBusinessUnitGroupID", EmitDefaultValue=false)]
public string ExternalBusinessUnitGroupID { get; set; }
/// <summary>
/// &lt;p&gt;A business function for which business unit groups are placed into separate grouping hierarchies.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;A business function for which business unit groups are placed into separate grouping hierarchies.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitGroupFunctionID", EmitDefaultValue=false)]
public string BusinessUnitGroupFunctionID { get; set; }
/// <summary>
/// &lt;p&gt;A unique internal identifier for a level within the business unit grouping hierarchy.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;A unique internal identifier for a level within the business unit grouping hierarchy.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitGroupLevelID", EmitDefaultValue=false)]
public string BusinessUnitGroupLevelID { get; set; }
/// <summary>
/// &lt;p&gt;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.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;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.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitGroupDepth", EmitDefaultValue=false)]
public int? BusinessUnitGroupDepth { get; set; }
/// <summary>
/// &lt;p&gt;List of translations for business unit group.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;List of translations for business unit group.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="translationList", EmitDefaultValue=false)]
public List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO> TranslationList { get; set; }
/// <summary>
/// &lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="tid", EmitDefaultValue=false)]
public string Tid { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom08", EmitDefaultValue=false)]
public string Xxcustom08 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom10", EmitDefaultValue=false)]
public string Xxcustom10 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom09", EmitDefaultValue=false)]
public string Xxcustom09 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom07", EmitDefaultValue=false)]
public string Xxcustom07 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom06", EmitDefaultValue=false)]
public string Xxcustom06 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom11", EmitDefaultValue=false)]
public string Xxcustom11 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom12", EmitDefaultValue=false)]
public string Xxcustom12 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom13", EmitDefaultValue=false)]
public string Xxcustom13 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom14", EmitDefaultValue=false)]
public string Xxcustom14 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom15", EmitDefaultValue=false)]
public string Xxcustom15 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom16", EmitDefaultValue=false)]
public string Xxcustom16 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom17", EmitDefaultValue=false)]
public string Xxcustom17 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom18", EmitDefaultValue=false)]
public string Xxcustom18 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom19", EmitDefaultValue=false)]
public string Xxcustom19 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom20", EmitDefaultValue=false)]
public string Xxcustom20 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom21", EmitDefaultValue=false)]
public string Xxcustom21 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom22", EmitDefaultValue=false)]
public string Xxcustom22 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom23", EmitDefaultValue=false)]
public string Xxcustom23 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom24", EmitDefaultValue=false)]
public string Xxcustom24 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom25", EmitDefaultValue=false)]
public string Xxcustom25 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom26", EmitDefaultValue=false)]
public string Xxcustom26 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom27", EmitDefaultValue=false)]
public string Xxcustom27 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom28", EmitDefaultValue=false)]
public string Xxcustom28 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom29", EmitDefaultValue=false)]
public string Xxcustom29 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom30", EmitDefaultValue=false)]
public string Xxcustom30 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDO to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BusinessUnitGroupDO.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey" /> class.
/// </summary>
/// <param name="businessUnitGroupID">&lt;p&gt;A unique system assigned identifier for a group of business units.&lt;br /&gt;&lt;/p&gt; (required).</param>
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;
}
}
/// <summary>
/// &lt;p&gt;A unique system assigned identifier for a group of business units.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;A unique system assigned identifier for a group of business units.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitGroupID", EmitDefaultValue=false)]
public string BusinessUnitGroupID { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey to be compared</param>
/// <returns>Boolean</returns>
public bool Equals(ComGkSoftwareGkrApiServerMdBusinessUnitGroupDtoDomBusinessUnitGroupDOKey input)
{
if (input == null)
return false;
return
(
this.BusinessUnitGroupID == input.BusinessUnitGroupID ||
(this.BusinessUnitGroupID != null &&
this.BusinessUnitGroupID.Equals(input.BusinessUnitGroupID))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BusinessUnitTextDO &lt;p&gt;Receipt texts (header and footer).&lt;br /&gt;&lt;/p&gt;
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO" /> class.
/// </summary>
/// <param name="key">&lt;p&gt;Getter for inner key class.&lt;/p&gt; (required).</param>
/// <param name="receiptTextValue">&lt;p&gt;The receipt text.&lt;br /&gt;&lt;/p&gt; (required).</param>
/// <param name="translationList">&lt;p&gt;List of translations for the denomination.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="packageID">&lt;p&gt;Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="tid">&lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom08">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom10">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom09">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom07">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom05">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom06">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom11">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom12">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom13">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom14">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom15">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom03">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom02">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom04">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom16">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom17">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom18">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom19">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom20">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom21">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom22">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom23">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom24">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom25">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom26">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom27">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom28">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom29">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom30">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
/// <param name="xxcustom01">&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;.</param>
public ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO(ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey key = default(ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey), string receiptTextValue = default(string), List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO> translationList = default(List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO>), 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;
}
/// <summary>
/// &lt;p&gt;Getter for inner key class.&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Getter for inner key class.&lt;/p&gt;</value>
[DataMember(Name="key", EmitDefaultValue=false)]
public ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey Key { get; set; }
/// <summary>
/// &lt;p&gt;The receipt text.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;The receipt text.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="receiptTextValue", EmitDefaultValue=false)]
public string ReceiptTextValue { get; set; }
/// <summary>
/// &lt;p&gt;List of translations for the denomination.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;List of translations for the denomination.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="translationList", EmitDefaultValue=false)]
public List<ComGkSoftwareGkrApiServerCommonTranslationsDtoDomTranslationDO> TranslationList { get; set; }
/// <summary>
/// &lt;p&gt;Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Internal identification of the import package (e.g. IDoc file). The identification is used for monitoring purposes.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="packageID", EmitDefaultValue=false)]
public string PackageID { get; set; }
/// <summary>
/// &lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Translation identifier - used for the unique identification of translations in the common translation table.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="tid", EmitDefaultValue=false)]
public string Tid { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom08", EmitDefaultValue=false)]
public string Xxcustom08 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom10", EmitDefaultValue=false)]
public string Xxcustom10 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom09", EmitDefaultValue=false)]
public string Xxcustom09 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom07", EmitDefaultValue=false)]
public string Xxcustom07 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom05", EmitDefaultValue=false)]
public string Xxcustom05 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom06", EmitDefaultValue=false)]
public string Xxcustom06 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom11", EmitDefaultValue=false)]
public string Xxcustom11 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom12", EmitDefaultValue=false)]
public string Xxcustom12 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom13", EmitDefaultValue=false)]
public string Xxcustom13 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom14", EmitDefaultValue=false)]
public string Xxcustom14 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom15", EmitDefaultValue=false)]
public string Xxcustom15 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom03", EmitDefaultValue=false)]
public string Xxcustom03 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom02", EmitDefaultValue=false)]
public string Xxcustom02 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom04", EmitDefaultValue=false)]
public string Xxcustom04 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom16", EmitDefaultValue=false)]
public string Xxcustom16 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom17", EmitDefaultValue=false)]
public string Xxcustom17 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom18", EmitDefaultValue=false)]
public string Xxcustom18 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom19", EmitDefaultValue=false)]
public string Xxcustom19 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom20", EmitDefaultValue=false)]
public string Xxcustom20 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom21", EmitDefaultValue=false)]
public string Xxcustom21 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom22", EmitDefaultValue=false)]
public string Xxcustom22 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom23", EmitDefaultValue=false)]
public string Xxcustom23 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom24", EmitDefaultValue=false)]
public string Xxcustom24 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom25", EmitDefaultValue=false)]
public string Xxcustom25 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom26", EmitDefaultValue=false)]
public string Xxcustom26 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom27", EmitDefaultValue=false)]
public string Xxcustom27 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom28", EmitDefaultValue=false)]
public string Xxcustom28 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom29", EmitDefaultValue=false)]
public string Xxcustom29 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom30", EmitDefaultValue=false)]
public string Xxcustom30 { get; set; }
/// <summary>
/// &lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Additional field for custom development.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="xxcustom01", EmitDefaultValue=false)]
public string Xxcustom01 { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDO to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
/*
* GK application - OmniPOS Service API
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: 5.21.1-b03
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.ComponentModel.DataAnnotations;
using SwaggerDateConverter = IO.Swagger.Client.SwaggerDateConverter;
namespace IO.Swagger.Model
{
/// <summary>
/// BusinessUnitTextDO.Key Inner class for composite key attributes
/// </summary>
[DataContract]
public partial class ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey : IEquatable<ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey>, IValidatableObject
{
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey" /> class.
/// </summary>
[JsonConstructorAttribute]
protected ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey() { }
/// <summary>
/// Initializes a new instance of the <see cref="ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey" /> class.
/// </summary>
/// <param name="businessUnitID">&lt;p&gt;Ident of the retail store.&lt;br /&gt;&lt;/p&gt; (required).</param>
/// <param name="receiptTextKey">&lt;p&gt;Type of the receipt text (e.g. FOOTER)&lt;br /&gt;&lt;/p&gt; (required).</param>
/// <param name="receiptTextSequenceNumber">&lt;p&gt;A sequence number of the receipt text.&lt;br /&gt;&lt;/p&gt; (required).</param>
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;
}
}
/// <summary>
/// &lt;p&gt;Ident of the retail store.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Ident of the retail store.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="businessUnitID", EmitDefaultValue=false)]
public string BusinessUnitID { get; set; }
/// <summary>
/// &lt;p&gt;Type of the receipt text (e.g. FOOTER)&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;Type of the receipt text (e.g. FOOTER)&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="receiptTextKey", EmitDefaultValue=false)]
public string ReceiptTextKey { get; set; }
/// <summary>
/// &lt;p&gt;A sequence number of the receipt text.&lt;br /&gt;&lt;/p&gt;
/// </summary>
/// <value>&lt;p&gt;A sequence number of the receipt text.&lt;br /&gt;&lt;/p&gt;</value>
[DataMember(Name="receiptTextSequenceNumber", EmitDefaultValue=false)]
public int? ReceiptTextSequenceNumber { get; set; }
/// <summary>
/// Returns the string presentation of the object
/// </summary>
/// <returns>String presentation of the object</returns>
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();
}
/// <summary>
/// Returns the JSON string presentation of the object
/// </summary>
/// <returns>JSON string presentation of the object</returns>
public virtual string ToJson()
{
return JsonConvert.SerializeObject(this, Formatting.Indented);
}
/// <summary>
/// Returns true if objects are equal
/// </summary>
/// <param name="input">Object to be compared</param>
/// <returns>Boolean</returns>
public override bool Equals(object input)
{
return this.Equals(input as ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey);
}
/// <summary>
/// Returns true if ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey instances are equal
/// </summary>
/// <param name="input">Instance of ComGkSoftwareGkrApiServerMdBusinessUnitTextDtoDomBusinessUnitTextDOKey to be compared</param>
/// <returns>Boolean</returns>
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))
);
}
/// <summary>
/// Gets the hash code
/// </summary>
/// <returns>Hash code</returns>
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;
}
}
/// <summary>
/// To validate all properties of the instance
/// </summary>
/// <param name="validationContext">Validation context</param>
/// <returns>Validation Result</returns>
IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
{
yield break;
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment