public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) hash ^= ResourceName.GetHashCode(); if (paymentsAccountId_ != null) hash ^= PaymentsAccountId.GetHashCode(); if (name_ != null) hash ^= Name.GetHashCode(); if (currencyCode_ != null) hash ^= CurrencyCode.GetHashCode(); if (paymentsProfileId_ != null) hash ^= PaymentsProfileId.GetHashCode(); if (secondaryPaymentsProfileId_ != null) hash ^= SecondaryPaymentsProfileId.GetHashCode(); if (payingManagerCustomer_ != null) hash ^= PayingManagerCustomer.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return hash; }
public override int GetHashCode() { int hash = 1; if (ResourceName.Length != 0) { hash ^= ResourceName.GetHashCode(); } if (HasPaymentsAccountId) { hash ^= PaymentsAccountId.GetHashCode(); } if (HasName) { hash ^= Name.GetHashCode(); } if (HasCurrencyCode) { hash ^= CurrencyCode.GetHashCode(); } if (HasPaymentsProfileId) { hash ^= PaymentsProfileId.GetHashCode(); } if (HasSecondaryPaymentsProfileId) { hash ^= SecondaryPaymentsProfileId.GetHashCode(); } if (HasPayingManagerCustomer) { hash ^= PayingManagerCustomer.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }