public override int GetHashCode() { int hashCode = -685311361; if (TotalMoney != null) { hashCode += TotalMoney.GetHashCode(); } if (TaxMoney != null) { hashCode += TaxMoney.GetHashCode(); } if (DiscountMoney != null) { hashCode += DiscountMoney.GetHashCode(); } if (TipMoney != null) { hashCode += TipMoney.GetHashCode(); } if (ServiceChargeMoney != null) { hashCode += ServiceChargeMoney.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); }