public override int GetHashCode() { int hashCode = -855846569; if (Id != null) { hashCode += Id.GetHashCode(); } if (ReferenceId != null) { hashCode += ReferenceId.GetHashCode(); } if (FromState != null) { hashCode += FromState.GetHashCode(); } if (ToState != null) { hashCode += ToState.GetHashCode(); } if (LocationId != null) { hashCode += LocationId.GetHashCode(); } if (CatalogObjectId != null) { hashCode += CatalogObjectId.GetHashCode(); } if (CatalogObjectType != null) { hashCode += CatalogObjectType.GetHashCode(); } if (Quantity != null) { hashCode += Quantity.GetHashCode(); } if (TotalPriceMoney != null) { hashCode += TotalPriceMoney.GetHashCode(); } if (OccurredAt != null) { hashCode += OccurredAt.GetHashCode(); } if (CreatedAt != null) { hashCode += CreatedAt.GetHashCode(); } if (Source != null) { hashCode += Source.GetHashCode(); } if (EmployeeId != null) { hashCode += EmployeeId.GetHashCode(); } if (TransactionId != null) { hashCode += TransactionId.GetHashCode(); } if (RefundId != null) { hashCode += RefundId.GetHashCode(); } if (PurchaseOrderId != null) { hashCode += PurchaseOrderId.GetHashCode(); } if (GoodsReceiptId != null) { hashCode += GoodsReceiptId.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { int hashCode = 820864276; if (Context != null) { hashCode += Context.GetHashCode(); } if (Errors != null) { hashCode += Errors.GetHashCode(); } if (Id != null) { hashCode += Id.GetHashCode(); } if (BuyerEmail != null) { hashCode += BuyerEmail.GetHashCode(); } if (RecipientName != null) { hashCode += RecipientName.GetHashCode(); } if (RecipientPhoneNumber != null) { hashCode += RecipientPhoneNumber.GetHashCode(); } if (State != null) { hashCode += State.GetHashCode(); } if (ShippingAddress != null) { hashCode += ShippingAddress.GetHashCode(); } if (SubtotalMoney != null) { hashCode += SubtotalMoney.GetHashCode(); } if (TotalShippingMoney != null) { hashCode += TotalShippingMoney.GetHashCode(); } if (TotalTaxMoney != null) { hashCode += TotalTaxMoney.GetHashCode(); } if (TotalPriceMoney != null) { hashCode += TotalPriceMoney.GetHashCode(); } if (TotalDiscountMoney != null) { hashCode += TotalDiscountMoney.GetHashCode(); } if (CreatedAt != null) { hashCode += CreatedAt.GetHashCode(); } if (UpdatedAt != null) { hashCode += UpdatedAt.GetHashCode(); } if (ExpiresAt != null) { hashCode += ExpiresAt.GetHashCode(); } if (PaymentId != null) { hashCode += PaymentId.GetHashCode(); } if (BuyerNote != null) { hashCode += BuyerNote.GetHashCode(); } if (CompletedNote != null) { hashCode += CompletedNote.GetHashCode(); } if (RefundedNote != null) { hashCode += RefundedNote.GetHashCode(); } if (CanceledNote != null) { hashCode += CanceledNote.GetHashCode(); } if (Tender != null) { hashCode += Tender.GetHashCode(); } if (OrderHistory != null) { hashCode += OrderHistory.GetHashCode(); } if (PromoCode != null) { hashCode += PromoCode.GetHashCode(); } if (BtcReceiveAddress != null) { hashCode += BtcReceiveAddress.GetHashCode(); } if (BtcPriceSatoshi != null) { hashCode += BtcPriceSatoshi.GetHashCode(); } return(hashCode); }