public void MergeFrom(PaymentCardAuthorizationIncrease other) { if (other == null) { return; } if (other.increaseAmount_ != null) { if (increaseAmount_ == null) { increaseAmount_ = new global::HOLMS.Types.Primitive.MonetaryAmount(); } IncreaseAmount.MergeFrom(other.IncreaseAmount); } if (other.HostReferenceNumber.Length != 0) { HostReferenceNumber = other.HostReferenceNumber; } if (other.Result != 0) { Result = other.Result; } if (other.postedAt_ != null) { if (postedAt_ == null) { postedAt_ = new global::Google.Protobuf.WellKnownTypes.Timestamp(); } PostedAt.MergeFrom(other.PostedAt); } }
public override int GetHashCode() { int hash = 1; if (increaseAmount_ != null) { hash ^= IncreaseAmount.GetHashCode(); } if (HostReferenceNumber.Length != 0) { hash ^= HostReferenceNumber.GetHashCode(); } if (Result != 0) { hash ^= Result.GetHashCode(); } if (postedAt_ != null) { hash ^= PostedAt.GetHashCode(); } return(hash); }