@@ -49,6 +49,13 @@ public Currency() { }
49
49
[ JsonPropertyName ( "standardDeviation" ) ]
50
50
public double ? StandardDeviation { get ; set ; }
51
51
52
+ /// <summary>
53
+ /// The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile.
54
+ /// </summary>
55
+ /// <value>The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile.</value>
56
+ [ JsonPropertyName ( "winsorizedAmount" ) ]
57
+ public double ? WinsorizedAmount { get ; set ; }
58
+
52
59
/// <summary>
53
60
/// Returns the string presentation of the object
54
61
/// </summary>
@@ -61,6 +68,7 @@ public override string ToString()
61
68
sb . Append ( " Revenue: " ) . Append ( Revenue ) . Append ( "\n " ) ;
62
69
sb . Append ( " Mean: " ) . Append ( Mean ) . Append ( "\n " ) ;
63
70
sb . Append ( " StandardDeviation: " ) . Append ( StandardDeviation ) . Append ( "\n " ) ;
71
+ sb . Append ( " WinsorizedAmount: " ) . Append ( WinsorizedAmount ) . Append ( "\n " ) ;
64
72
sb . Append ( "}\n " ) ;
65
73
return sb . ToString ( ) ;
66
74
}
@@ -95,6 +103,10 @@ public override bool Equals(object obj)
95
103
&& (
96
104
StandardDeviation == input . StandardDeviation
97
105
|| StandardDeviation . Equals ( input . StandardDeviation )
106
+ )
107
+ && (
108
+ WinsorizedAmount == input . WinsorizedAmount
109
+ || WinsorizedAmount . Equals ( input . WinsorizedAmount )
98
110
) ;
99
111
}
100
112
@@ -114,6 +126,7 @@ public override int GetHashCode()
114
126
hashCode = ( hashCode * 59 ) + Revenue . GetHashCode ( ) ;
115
127
hashCode = ( hashCode * 59 ) + Mean . GetHashCode ( ) ;
116
128
hashCode = ( hashCode * 59 ) + StandardDeviation . GetHashCode ( ) ;
129
+ hashCode = ( hashCode * 59 ) + WinsorizedAmount . GetHashCode ( ) ;
117
130
return hashCode ;
118
131
}
119
132
}
0 commit comments