public override int GetHashCode() { int hashCode = 441365892; if (Uid != null) { hashCode += Uid.GetHashCode(); } if (Name != null) { hashCode += Name.GetHashCode(); } if (Quantity != null) { hashCode += Quantity.GetHashCode(); } if (QuantityUnit != null) { hashCode += QuantityUnit.GetHashCode(); } if (Note != null) { hashCode += Note.GetHashCode(); } if (CatalogObjectId != null) { hashCode += CatalogObjectId.GetHashCode(); } if (VariationName != null) { hashCode += VariationName.GetHashCode(); } if (Metadata != null) { hashCode += Metadata.GetHashCode(); } if (Modifiers != null) { hashCode += Modifiers.GetHashCode(); } if (AppliedTaxes != null) { hashCode += AppliedTaxes.GetHashCode(); } if (AppliedDiscounts != null) { hashCode += AppliedDiscounts.GetHashCode(); } if (BasePriceMoney != null) { hashCode += BasePriceMoney.GetHashCode(); } if (VariationTotalPriceMoney != null) { hashCode += VariationTotalPriceMoney.GetHashCode(); } if (GrossSalesMoney != null) { hashCode += GrossSalesMoney.GetHashCode(); } if (TotalTaxMoney != null) { hashCode += TotalTaxMoney.GetHashCode(); } if (TotalDiscountMoney != null) { hashCode += TotalDiscountMoney.GetHashCode(); } if (TotalMoney != null) { hashCode += TotalMoney.GetHashCode(); } if (PricingBlocklists != null) { hashCode += PricingBlocklists.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { int hashCode = -215174345; if (Context != null) { hashCode += Context.GetHashCode(); } if (Id != null) { hashCode += Id.GetHashCode(); } if (MerchantId != null) { hashCode += MerchantId.GetHashCode(); } if (CreatedAt != null) { hashCode += CreatedAt.GetHashCode(); } if (CreatorId != null) { hashCode += CreatorId.GetHashCode(); } if (Device != null) { hashCode += Device.GetHashCode(); } if (PaymentUrl != null) { hashCode += PaymentUrl.GetHashCode(); } if (ReceiptUrl != null) { hashCode += ReceiptUrl.GetHashCode(); } if (InclusiveTaxMoney != null) { hashCode += InclusiveTaxMoney.GetHashCode(); } if (AdditiveTaxMoney != null) { hashCode += AdditiveTaxMoney.GetHashCode(); } if (TaxMoney != null) { hashCode += TaxMoney.GetHashCode(); } if (TipMoney != null) { hashCode += TipMoney.GetHashCode(); } if (DiscountMoney != null) { hashCode += DiscountMoney.GetHashCode(); } if (TotalCollectedMoney != null) { hashCode += TotalCollectedMoney.GetHashCode(); } if (ProcessingFeeMoney != null) { hashCode += ProcessingFeeMoney.GetHashCode(); } if (NetTotalMoney != null) { hashCode += NetTotalMoney.GetHashCode(); } if (RefundedMoney != null) { hashCode += RefundedMoney.GetHashCode(); } if (SwedishRoundingMoney != null) { hashCode += SwedishRoundingMoney.GetHashCode(); } if (GrossSalesMoney != null) { hashCode += GrossSalesMoney.GetHashCode(); } if (NetSalesMoney != null) { hashCode += NetSalesMoney.GetHashCode(); } if (InclusiveTax != null) { hashCode += InclusiveTax.GetHashCode(); } if (AdditiveTax != null) { hashCode += AdditiveTax.GetHashCode(); } if (Tender != null) { hashCode += Tender.GetHashCode(); } if (Refunds != null) { hashCode += Refunds.GetHashCode(); } if (Itemizations != null) { hashCode += Itemizations.GetHashCode(); } if (SurchargeMoney != null) { hashCode += SurchargeMoney.GetHashCode(); } if (Surcharges != null) { hashCode += Surcharges.GetHashCode(); } if (IsPartial != null) { hashCode += IsPartial.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { int hashCode = 1047875174; if (Name != null) { hashCode += Name.GetHashCode(); } if (Quantity != null) { hashCode += Quantity.GetHashCode(); } if (ItemizationType != null) { hashCode += ItemizationType.GetHashCode(); } if (ItemDetail != null) { hashCode += ItemDetail.GetHashCode(); } if (Notes != null) { hashCode += Notes.GetHashCode(); } if (ItemVariationName != null) { hashCode += ItemVariationName.GetHashCode(); } if (TotalMoney != null) { hashCode += TotalMoney.GetHashCode(); } if (SingleQuantityMoney != null) { hashCode += SingleQuantityMoney.GetHashCode(); } if (GrossSalesMoney != null) { hashCode += GrossSalesMoney.GetHashCode(); } if (DiscountMoney != null) { hashCode += DiscountMoney.GetHashCode(); } if (NetSalesMoney != null) { hashCode += NetSalesMoney.GetHashCode(); } if (Taxes != null) { hashCode += Taxes.GetHashCode(); } if (Discounts != null) { hashCode += Discounts.GetHashCode(); } if (Modifiers != null) { hashCode += Modifiers.GetHashCode(); } return(hashCode); }