@@ -74,17 +74,6 @@ public static Transaction parse(JSONObject json) throws JSONException {
74
74
75
75
public Transaction () {}
76
76
77
- public Transaction (String orderId , String productId , String packageName , PurchaseState purchaseState ,
78
- String notificationId , long purchaseTime , String developerPayload ) {
79
- this .orderId = orderId ;
80
- this .productId = productId ;
81
- this .packageName = packageName ;
82
- this .purchaseState = purchaseState ;
83
- this .notificationId = notificationId ;
84
- this .purchaseTime = purchaseTime ;
85
- this .developerPayload = developerPayload ;
86
- }
87
-
88
77
public Transaction (String orderId , String productId , String packageName , PurchaseState purchaseState ,
89
78
String notificationId , long purchaseTime , String developerPayload , String signature , String signedData ) {
90
79
this .orderId = orderId ;
@@ -140,19 +129,16 @@ public boolean equals(Object obj) {
140
129
return false ;
141
130
if (purchaseTime != other .purchaseTime )
142
131
return false ;
143
-
144
132
if (signature == null ) {
145
133
if (other .signature != null )
146
134
return false ;
147
135
} else if (!signature .equals (other .signature ))
148
136
return false ;
149
-
150
137
if (signedData == null ) {
151
138
if (other .signedData != null )
152
139
return false ;
153
140
} else if (!signedData .equals (other .signedData ))
154
141
return false ;
155
-
156
142
return true ;
157
143
}
158
144
0 commit comments