public override int GetHashCode() { int hash = 1; if (amount_ != null) { hash ^= Amount.GetHashCode(); } if (Narration.Length != 0) { hash ^= Narration.GetHashCode(); } if (ChargeCreditType != 0) { hash ^= ChargeCreditType.GetHashCode(); } if (effectiveForOpsdate_ != null) { hash ^= EffectiveForOpsdate.GetHashCode(); } if (effectiveAtClock_ != null) { hash ^= EffectiveAtClock.GetHashCode(); } if (incidentalItem_ != null) { hash ^= IncidentalItem.GetHashCode(); } if (incurredBy_ != null) { hash ^= IncurredBy.GetHashCode(); } if (IssuanceSchedule != 0) { hash ^= IssuanceSchedule.GetHashCode(); } if (enteredBy_ != null) { hash ^= EnteredBy.GetHashCode(); } if (id_ != null) { hash ^= Id.GetHashCode(); } if (taxes_ != null) { hash ^= Taxes.GetHashCode(); } if (fees_ != null) { hash ^= Fees.GetHashCode(); } hash ^= currentTaxAssessments_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hashCode = -446593569; if (Name != null) { hashCode += Name.GetHashCode(); } if (AppliedMoney != null) { hashCode += AppliedMoney.GetHashCode(); } if (Rate != null) { hashCode += Rate.GetHashCode(); } if (AmountMoney != null) { hashCode += AmountMoney.GetHashCode(); } if (Type != null) { hashCode += Type.GetHashCode(); } if (Taxable != null) { hashCode += Taxable.GetHashCode(); } if (Taxes != null) { hashCode += Taxes.GetHashCode(); } if (SurchargeId != null) { hashCode += SurchargeId.GetHashCode(); } return(hashCode); }
public override int GetHashCode() { int hash = 1; if (invoiceId_ != null) { hash ^= InvoiceId.GetHashCode(); } if (reservationId_ != null) { hash ^= ReservationId.GetHashCode(); } if (amount_ != null) { hash ^= Amount.GetHashCode(); } if (payment_ != null) { hash ^= Payment.GetHashCode(); } if (taxes_ != null) { hash ^= Taxes.GetHashCode(); } if (fees_ != null) { hash ^= Fees.GetHashCode(); } if (charges_ != null) { hash ^= Charges.GetHashCode(); } if (Voided != false) { hash ^= Voided.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hashCode = 401631729; if (Id != null) { hashCode += Id.GetHashCode(); } if (LocationId != null) { hashCode += LocationId.GetHashCode(); } if (ReferenceId != null) { hashCode += ReferenceId.GetHashCode(); } if (Source != null) { hashCode += Source.GetHashCode(); } if (CustomerId != null) { hashCode += CustomerId.GetHashCode(); } if (LineItems != null) { hashCode += LineItems.GetHashCode(); } if (Taxes != null) { hashCode += Taxes.GetHashCode(); } if (Discounts != null) { hashCode += Discounts.GetHashCode(); } if (ServiceCharges != null) { hashCode += ServiceCharges.GetHashCode(); } if (Fulfillments != null) { hashCode += Fulfillments.GetHashCode(); } if (Returns != null) { hashCode += Returns.GetHashCode(); } if (ReturnAmounts != null) { hashCode += ReturnAmounts.GetHashCode(); } if (NetAmounts != null) { hashCode += NetAmounts.GetHashCode(); } if (RoundingAdjustment != null) { hashCode += RoundingAdjustment.GetHashCode(); } if (Tenders != null) { hashCode += Tenders.GetHashCode(); } if (Refunds != null) { hashCode += Refunds.GetHashCode(); } if (Metadata != null) { hashCode += Metadata.GetHashCode(); } if (CreatedAt != null) { hashCode += CreatedAt.GetHashCode(); } if (UpdatedAt != null) { hashCode += UpdatedAt.GetHashCode(); } if (ClosedAt != null) { hashCode += ClosedAt.GetHashCode(); } if (State != null) { hashCode += State.GetHashCode(); } if (Version != null) { hashCode += Version.GetHashCode(); } if (TotalMoney != null) { hashCode += TotalMoney.GetHashCode(); } if (TotalTaxMoney != null) { hashCode += TotalTaxMoney.GetHashCode(); } if (TotalDiscountMoney != null) { hashCode += TotalDiscountMoney.GetHashCode(); } if (TotalTipMoney != null) { hashCode += TotalTipMoney.GetHashCode(); } if (TotalServiceChargeMoney != null) { hashCode += TotalServiceChargeMoney.GetHashCode(); } if (PricingOptions != null) { hashCode += PricingOptions.GetHashCode(); } if (Rewards != null) { hashCode += Rewards.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); }