Here are the examples of the csharp api object.GetHashCode() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
5038 Examples
19
Source : CreatePaymentLinkRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AllowedPaymentMethods != null)
hashCode = hashCode * 59 + this.AllowedPaymentMethods.GetHashCode();
if (this.Amount != null)
hashCode = hashCode * 59 + this.Amount.GetHashCode();
if (this.ApplicationInfo != null)
hashCode = hashCode * 59 + this.ApplicationInfo.GetHashCode();
if (this.BillingAddress != null)
hashCode = hashCode * 59 + this.BillingAddress.GetHashCode();
if (this.BlockedPaymentMethods != null)
hashCode = hashCode * 59 + this.BlockedPaymentMethods.GetHashCode();
if (this.CountryCode != null)
hashCode = hashCode * 59 + this.CountryCode.GetHashCode();
if (this.DeliverAt != null)
hashCode = hashCode * 59 + this.DeliverAt.GetHashCode();
if (this.DeliveryAddress != null)
hashCode = hashCode * 59 + this.DeliveryAddress.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.ExpiresAt != null)
hashCode = hashCode * 59 + this.ExpiresAt.GetHashCode();
if (this.InstallmentOptions != null)
hashCode = hashCode * 59 + this.InstallmentOptions.GetHashCode();
if (this.LineItems != null)
hashCode = hashCode * 59 + this.LineItems.GetHashCode();
if (this.MerchantAccount != null)
hashCode = hashCode * 59 + this.MerchantAccount.GetHashCode();
if (this.MerchantOrderReference != null)
hashCode = hashCode * 59 + this.MerchantOrderReference.GetHashCode();
if (this.Metadata != null)
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
if (this.RecurringProcessingModel != null)
hashCode = hashCode * 59 + this.RecurringProcessingModel.GetHashCode();
if (this.Reference != null)
hashCode = hashCode * 59 + this.Reference.GetHashCode();
if (this.ReturnUrl != null)
hashCode = hashCode * 59 + this.ReturnUrl.GetHashCode();
if (this.Reusable != null)
hashCode = hashCode * 59 + this.Reusable.GetHashCode();
if (this.RiskData != null)
hashCode = hashCode * 59 + this.RiskData.GetHashCode();
if (this.ShopperEmail != null)
hashCode = hashCode * 59 + this.ShopperEmail.GetHashCode();
if (this.ShopperLocale != null)
hashCode = hashCode * 59 + this.ShopperLocale.GetHashCode();
if (this.ShopperName != null)
hashCode = hashCode * 59 + this.ShopperName.GetHashCode();
if (this.ShopperReference != null)
hashCode = hashCode * 59 + this.ShopperReference.GetHashCode();
if (this.Splits != null)
hashCode = hashCode * 59 + this.Splits.GetHashCode();
if (this.Store != null)
hashCode = hashCode * 59 + this.Store.GetHashCode();
if (this.StorePaymentMethod != null)
hashCode = hashCode * 59 + this.StorePaymentMethod.GetHashCode();
return hashCode;
}
}
19
Source : PaymentLinkResource.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AllowedPaymentMethods != null)
hashCode = hashCode * 59 + this.AllowedPaymentMethods.GetHashCode();
if (this.Amount != null)
hashCode = hashCode * 59 + this.Amount.GetHashCode();
if (this.ApplicationInfo != null)
hashCode = hashCode * 59 + this.ApplicationInfo.GetHashCode();
if (this.BillingAddress != null)
hashCode = hashCode * 59 + this.BillingAddress.GetHashCode();
if (this.BlockedPaymentMethods != null)
hashCode = hashCode * 59 + this.BlockedPaymentMethods.GetHashCode();
if (this.CountryCode != null)
hashCode = hashCode * 59 + this.CountryCode.GetHashCode();
if (this.DeliverAt != null)
hashCode = hashCode * 59 + this.DeliverAt.GetHashCode();
if (this.DeliveryAddress != null)
hashCode = hashCode * 59 + this.DeliveryAddress.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.ExpiresAt != null)
hashCode = hashCode * 59 + this.ExpiresAt.GetHashCode();
if (this.Id != null)
hashCode = hashCode * 59 + this.Id.GetHashCode();
if (this.LineItems != null)
hashCode = hashCode * 59 + this.LineItems.GetHashCode();
if (this.MerchantAccount != null)
hashCode = hashCode * 59 + this.MerchantAccount.GetHashCode();
if (this.MerchantOrderReference != null)
hashCode = hashCode * 59 + this.MerchantOrderReference.GetHashCode();
if (this.RecurringProcessingModel != null)
hashCode = hashCode * 59 + this.RecurringProcessingModel.GetHashCode();
if (this.Reference != null)
hashCode = hashCode * 59 + this.Reference.GetHashCode();
if (this.ReturnUrl != null)
hashCode = hashCode * 59 + this.ReturnUrl.GetHashCode();
if (this.Reusable != null)
hashCode = hashCode * 59 + this.Reusable.GetHashCode();
if (this.RiskData != null)
hashCode = hashCode * 59 + this.RiskData.GetHashCode();
if (this.ShopperEmail != null)
hashCode = hashCode * 59 + this.ShopperEmail.GetHashCode();
if (this.ShopperLocale != null)
hashCode = hashCode * 59 + this.ShopperLocale.GetHashCode();
if (this.ShopperName != null)
hashCode = hashCode * 59 + this.ShopperName.GetHashCode();
if (this.ShopperReference != null)
hashCode = hashCode * 59 + this.ShopperReference.GetHashCode();
if (this.Splits != null)
hashCode = hashCode * 59 + this.Splits.GetHashCode();
if (this.Status != null)
hashCode = hashCode * 59 + this.Status.GetHashCode();
if (this.Store != null)
hashCode = hashCode * 59 + this.Store.GetHashCode();
if (this.StorePaymentMethod != null)
hashCode = hashCode * 59 + this.StorePaymentMethod.GetHashCode();
if (this.Url != null)
hashCode = hashCode * 59 + this.Url.GetHashCode();
return hashCode;
}
}
19
Source : CheckoutRedirectAction.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Data != null)
hashCode = hashCode * 59 + this.Data.GetHashCode();
if (this.Method != null)
hashCode = hashCode * 59 + this.Method.GetHashCode();
if (this.PaymentData != null)
hashCode = hashCode * 59 + this.PaymentData.GetHashCode();
if (this.PaymentMethodType != null)
hashCode = hashCode * 59 + this.PaymentMethodType.GetHashCode();
if (this.Url != null)
hashCode = hashCode * 59 + this.Url.GetHashCode();
return hashCode;
}
}
19
Source : CheckoutSDKAction.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.PaymentData != null)
hashCode = hashCode * 59 + this.PaymentData.GetHashCode();
if (this.PaymentMethodType != null)
hashCode = hashCode * 59 + this.PaymentMethodType.GetHashCode();
if (this.SdkData != null)
hashCode = hashCode * 59 + this.SdkData.GetHashCode();
if (this.Url != null)
hashCode = hashCode * 59 + this.Url.GetHashCode();
return hashCode;
}
}
19
Source : CheckoutUtilityRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.OriginDomains != null)
hashCode = hashCode * 59 + this.OriginDomains.GetHashCode();
return hashCode;
}
}
19
Source : CheckoutCreateOrderResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AdditionalData != null)
hashCode = hashCode * 59 + this.AdditionalData.GetHashCode();
if (this.Amount != null)
hashCode = hashCode * 59 + this.Amount.GetHashCode();
if (this.ExpiresAt != null)
hashCode = hashCode * 59 + this.ExpiresAt.GetHashCode();
if (this.FraudResult != null)
hashCode = hashCode * 59 + this.FraudResult.GetHashCode();
if (this.OrderData != null)
hashCode = hashCode * 59 + this.OrderData.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.RefusalReason != null)
hashCode = hashCode * 59 + this.RefusalReason.GetHashCode();
if (this.RemainingAmount != null)
hashCode = hashCode * 59 + this.RemainingAmount.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : CheckoutUtilityResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.OriginKeys != null)
hashCode = hashCode * 59 + this.OriginKeys.GetHashCode();
return hashCode;
}
}
19
Source : DeviceRenderOptions.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.SdkInterface != null)
hashCode = hashCode * 59 + this.SdkInterface.GetHashCode();
if (this.SdkUiType != null)
hashCode = hashCode * 59 + this.SdkUiType.GetHashCode();
return hashCode;
}
}
19
Source : InstallmentOption.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.MaxValue != null)
hashCode = hashCode * 59 + this.MaxValue.GetHashCode();
if (this.Plans != null)
hashCode = hashCode * 59 + this.Plans.GetHashCode();
return hashCode;
}
}
19
Source : PaymentMethodsResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.PaymentMethods != null)
hashCode = hashCode * 59 + this.PaymentMethods.GetHashCode();
if (this.StoredPaymentMethods != null)
hashCode = hashCode * 59 + this.StoredPaymentMethods.GetHashCode();
return hashCode;
}
}
19
Source : PaymentResultResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AdditionalData != null)
hashCode = hashCode * 59 + this.AdditionalData.GetHashCode();
if (this.FraudResult != null)
hashCode = hashCode * 59 + this.FraudResult.GetHashCode();
if (this.MerchantReference != null)
hashCode = hashCode * 59 + this.MerchantReference.GetHashCode();
if (this.Order != null)
hashCode = hashCode * 59 + this.Order.GetHashCode();
if (this.PaymentMethod != null)
hashCode = hashCode * 59 + this.PaymentMethod.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.RefusalReason != null)
hashCode = hashCode * 59 + this.RefusalReason.GetHashCode();
if (this.RefusalReasonCode != null)
hashCode = hashCode * 59 + this.RefusalReasonCode.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
if (this.ServiceError != null)
hashCode = hashCode * 59 + this.ServiceError.GetHashCode();
if (this.ShopperLocale != null)
hashCode = hashCode * 59 + this.ShopperLocale.GetHashCode();
return hashCode;
}
}
19
Source : PaymentSessionResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.PaymentSession != null)
hashCode = hashCode * 59 + this.PaymentSession.GetHashCode();
if (this.RecurringDetails != null)
hashCode = hashCode * 59 + this.RecurringDetails.GetHashCode();
return hashCode;
}
}
19
Source : RecurringDetail.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Brand != null)
hashCode = hashCode * 59 + this.Brand.GetHashCode();
if (this.Brands != null)
hashCode = hashCode * 59 + this.Brands.GetHashCode();
if (this.Configuration != null)
hashCode = hashCode * 59 + this.Configuration.GetHashCode();
if (this.Details != null)
hashCode = hashCode * 59 + this.Details.GetHashCode();
if (this.FundingSource != null)
hashCode = hashCode * 59 + this.FundingSource.GetHashCode();
if (this.Group != null)
hashCode = hashCode * 59 + this.Group.GetHashCode();
if (this.InputDetails != null)
hashCode = hashCode * 59 + this.InputDetails.GetHashCode();
if (this.Name != null)
hashCode = hashCode * 59 + this.Name.GetHashCode();
if (this.RecurringDetailReference != null)
hashCode = hashCode * 59 + this.RecurringDetailReference.GetHashCode();
if (this.StoredDetails != null)
hashCode = hashCode * 59 + this.StoredDetails.GetHashCode();
if (this.Type != null)
hashCode = hashCode * 59 + this.Type.GetHashCode();
return hashCode;
}
}
19
Source : Redirect.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Data != null)
hashCode = hashCode * 59 + this.Data.GetHashCode();
if (this.Method != null)
hashCode = hashCode * 59 + this.Method.GetHashCode();
if (this.Url != null)
hashCode = hashCode * 59 + this.Url.GetHashCode();
return hashCode;
}
}
19
Source : PaymentResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Action != null)
hashCode = hashCode * 59 + this.Action.GetHashCode();
if (this.AdditionalData != null)
hashCode = hashCode * 59 + this.AdditionalData.GetHashCode();
if (this.Amount != null)
hashCode = hashCode * 59 + this.Amount.GetHashCode();
if (this.Authentication != null)
hashCode = hashCode * 59 + this.Authentication.GetHashCode();
if (this.Details != null)
hashCode = hashCode * 59 + this.Details.GetHashCode();
if (this.DonationToken != null)
hashCode = hashCode * 59 + this.DonationToken.GetHashCode();
if (this.FraudResult != null)
hashCode = hashCode * 59 + this.FraudResult.GetHashCode();
if (this.MerchantReference != null)
hashCode = hashCode * 59 + this.MerchantReference.GetHashCode();
if (this.Order != null)
hashCode = hashCode * 59 + this.Order.GetHashCode();
if (this.OutputDetails != null)
hashCode = hashCode * 59 + this.OutputDetails.GetHashCode();
if (this.PaymentData != null)
hashCode = hashCode * 59 + this.PaymentData.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.Redirect != null)
hashCode = hashCode * 59 + this.Redirect.GetHashCode();
if (this.RefusalReason != null)
hashCode = hashCode * 59 + this.RefusalReason.GetHashCode();
if (this.RefusalReasonCode != null)
hashCode = hashCode * 59 + this.RefusalReasonCode.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : RiskData.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.ClientData != null)
hashCode = hashCode * 59 + this.ClientData.GetHashCode();
if (this.CustomFields != null)
hashCode = hashCode * 59 + this.CustomFields.GetHashCode();
if (this.FraudOffset != null)
hashCode = hashCode * 59 + this.FraudOffset.GetHashCode();
if (this.ProfileReference != null)
hashCode = hashCode * 59 + this.ProfileReference.GetHashCode();
return hashCode;
}
}
19
Source : StoredPaymentMethod.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Brand != null)
hashCode = hashCode * 59 + this.Brand.GetHashCode();
if (this.ExpiryMonth != null)
hashCode = hashCode * 59 + this.ExpiryMonth.GetHashCode();
if (this.ExpiryYear != null)
hashCode = hashCode * 59 + this.ExpiryYear.GetHashCode();
if (this.HolderName != null)
hashCode = hashCode * 59 + this.HolderName.GetHashCode();
if (this.Id != null)
hashCode = hashCode * 59 + this.Id.GetHashCode();
if (this.LastFour != null)
hashCode = hashCode * 59 + this.LastFour.GetHashCode();
if (this.Name != null)
hashCode = hashCode * 59 + this.Name.GetHashCode();
if (this.ShopperEmail != null)
hashCode = hashCode * 59 + this.ShopperEmail.GetHashCode();
if (this.SupportedShopperInteractions != null)
hashCode = hashCode * 59 + this.SupportedShopperInteractions.GetHashCode();
if (this.Type != null)
hashCode = hashCode * 59 + this.Type.GetHashCode();
if (this.Iban != null)
hashCode = hashCode * 59 + this.Iban.GetHashCode();
if (this.OwnerName != null)
hashCode = hashCode * 59 + this.OwnerName.GetHashCode();
return hashCode;
}
}
19
Source : AccountHolderTransactionListRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.TransactionListsPerAccount != null)
hashCode = hashCode * 59 + this.TransactionListsPerAccount.GetHashCode();
if (this.TransactionStatuses != null)
hashCode = hashCode * 59 + this.TransactionStatuses.GetHashCode();
return hashCode;
}
}
19
Source : BusinessDetails.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.DoingBusinessAs != null)
hashCode = hashCode * 59 + this.DoingBusinessAs.GetHashCode();
if (this.IncorporatedAt != null)
hashCode = hashCode * 59 + this.IncorporatedAt.GetHashCode();
if (this.LegalBusinessName != null)
hashCode = hashCode * 59 + this.LegalBusinessName.GetHashCode();
if (this.RegistrationNumber != null)
hashCode = hashCode * 59 + this.RegistrationNumber.GetHashCode();
if (this.Shareholders != null)
hashCode = hashCode * 59 + this.Shareholders.GetHashCode();
if (this.TaxId != null)
hashCode = hashCode * 59 + this.TaxId.GetHashCode();
return hashCode;
}
}
19
Source : CloseAccountHolderResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderStatus != null)
hashCode = hashCode * 59 + this.AccountHolderStatus.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : CloseAccountResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
hashCode = hashCode * 59 + this.Status.GetHashCode();
return hashCode;
}
}
19
Source : CreateAccountResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountCode != null)
hashCode = hashCode * 59 + this.AccountCode.GetHashCode();
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.Metadata != null)
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
if (this.PayoutSchedule != null)
hashCode = hashCode * 59 + this.PayoutSchedule.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
hashCode = hashCode * 59 + this.Status.GetHashCode();
return hashCode;
}
}
19
Source : DeleteBankAccountRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.BankAccountUUIDs != null)
hashCode = hashCode * 59 + this.BankAccountUUIDs.GetHashCode();
return hashCode;
}
}
19
Source : DeletePayoutMethodRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.PayoutMethodCodes != null)
hashCode = hashCode * 59 + this.PayoutMethodCodes.GetHashCode();
return hashCode;
}
}
19
Source : DeleteShareholderRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.ShareholderCodes != null)
hashCode = hashCode * 59 + this.ShareholderCodes.GetHashCode();
return hashCode;
}
}
19
Source : DetailBalance.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Balance != null)
hashCode = hashCode * 59 + this.Balance.GetHashCode();
if (this.OnHoldBalance != null)
hashCode = hashCode * 59 + this.OnHoldBalance.GetHashCode();
if (this.PendingBalance != null)
hashCode = hashCode * 59 + this.PendingBalance.GetHashCode();
return hashCode;
}
}
19
Source : GenericResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : KYCCheckResult.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Checks != null)
hashCode = hashCode * 59 + this.Checks.GetHashCode();
return hashCode;
}
}
19
Source : TransferFundsResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.MerchantReference != null)
hashCode = hashCode * 59 + this.MerchantReference.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : ThreeDSecureData.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AuthenticationResponse != null)
hashCode = hashCode * 59 + this.AuthenticationResponse.GetHashCode();
if (this.Cavv != null)
hashCode = hashCode * 59 + this.Cavv.GetHashCode();
if (this.CavvAlgorithm != null)
hashCode = hashCode * 59 + this.CavvAlgorithm.GetHashCode();
if (this.DirectoryResponse != null)
hashCode = hashCode * 59 + this.DirectoryResponse.GetHashCode();
if (this.DsTransID != null)
hashCode = hashCode * 59 + this.DsTransID.GetHashCode();
if (this.Eci != null)
hashCode = hashCode * 59 + this.Eci.GetHashCode();
if (this.ThreeDSVersion != null)
hashCode = hashCode * 59 + this.ThreeDSVersion.GetHashCode();
if (this.Xid != null)
hashCode = hashCode * 59 + this.Xid.GetHashCode();
if (this.ChallengeCancel != null)
hashCode = hashCode * 59 + this.ChallengeCancel.GetHashCode();
if (this.RiskScore != null)
hashCode = hashCode * 59 + this.RiskScore.GetHashCode();
if (this.TransStatusReason != null)
hashCode = hashCode * 59 + this.TransStatusReason.GetHashCode();
return hashCode;
}
}
19
Source : SubInputDetail.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Configuration != null)
hashCode = hashCode * 59 + this.Configuration.GetHashCode();
if (this.Items != null)
hashCode = hashCode * 59 + this.Items.GetHashCode();
if (this.Key != null)
hashCode = hashCode * 59 + this.Key.GetHashCode();
if (this.Optional != null)
hashCode = hashCode * 59 + this.Optional.GetHashCode();
if (this.Type != null)
hashCode = hashCode * 59 + this.Type.GetHashCode();
if (this.Value != null)
hashCode = hashCode * 59 + this.Value.GetHashCode();
return hashCode;
}
}
19
Source : AccountHolderDetails.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Address != null)
hashCode = hashCode * 59 + this.Address.GetHashCode();
if (this.BankAccountDetails != null)
hashCode = hashCode * 59 + this.BankAccountDetails.GetHashCode();
if (this.BusinessDetails != null)
hashCode = hashCode * 59 + this.BusinessDetails.GetHashCode();
if (this.Email != null)
hashCode = hashCode * 59 + this.Email.GetHashCode();
if (this.FullPhoneNumber != null)
hashCode = hashCode * 59 + this.FullPhoneNumber.GetHashCode();
if (this.IndividualDetails != null)
hashCode = hashCode * 59 + this.IndividualDetails.GetHashCode();
if (this.MerchantCategoryCode != null)
hashCode = hashCode * 59 + this.MerchantCategoryCode.GetHashCode();
if (this.Metadata != null)
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
if (this.PayoutMethods != null)
hashCode = hashCode * 59 + this.PayoutMethods.GetHashCode();
if (this.WebAddress != null)
hashCode = hashCode * 59 + this.WebAddress.GetHashCode();
return hashCode;
}
}
19
Source : AccountHolderTransactionListResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountTransactionLists != null)
hashCode = hashCode * 59 + this.AccountTransactionLists.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : Account.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountCode != null)
hashCode = hashCode * 59 + this.AccountCode.GetHashCode();
if (this.BankAccountUUID != null)
hashCode = hashCode * 59 + this.BankAccountUUID.GetHashCode();
if (this.BeneficiaryAccount != null)
hashCode = hashCode * 59 + this.BeneficiaryAccount.GetHashCode();
if (this.BeneficiaryMerchantReference != null)
hashCode = hashCode * 59 + this.BeneficiaryMerchantReference.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.Metadata != null)
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
if (this.PayoutMethodCode != null)
hashCode = hashCode * 59 + this.PayoutMethodCode.GetHashCode();
if (this.PayoutSchedule != null)
hashCode = hashCode * 59 + this.PayoutSchedule.GetHashCode();
if (this.PayoutSpeed != null)
hashCode = hashCode * 59 + this.PayoutSpeed.GetHashCode();
if (this.Status != null)
hashCode = hashCode * 59 + this.Status.GetHashCode();
return hashCode;
}
}
19
Source : AccountHolderBalanceResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.BalancePerAccount != null)
hashCode = hashCode * 59 + this.BalancePerAccount.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
if (this.TotalBalance != null)
hashCode = hashCode * 59 + this.TotalBalance.GetHashCode();
return hashCode;
}
}
19
Source : AccountHolderStatus.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Events != null)
hashCode = hashCode * 59 + this.Events.GetHashCode();
if (this.PayoutState != null)
hashCode = hashCode * 59 + this.PayoutState.GetHashCode();
if (this.ProcessingState != null)
hashCode = hashCode * 59 + this.ProcessingState.GetHashCode();
hashCode = hashCode * 59 + this.Status.GetHashCode();
if (this.StatusReason != null)
hashCode = hashCode * 59 + this.StatusReason.GetHashCode();
return hashCode;
}
}
19
Source : AccountTransactionList.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountCode != null)
hashCode = hashCode * 59 + this.AccountCode.GetHashCode();
if (this.HasNextPage != null)
hashCode = hashCode * 59 + this.HasNextPage.GetHashCode();
if (this.Transactions != null)
hashCode = hashCode * 59 + this.Transactions.GetHashCode();
return hashCode;
}
}
19
Source : CreateAccountHolderResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountCode != null)
hashCode = hashCode * 59 + this.AccountCode.GetHashCode();
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.AccountHolderDetails != null)
hashCode = hashCode * 59 + this.AccountHolderDetails.GetHashCode();
if (this.AccountHolderStatus != null)
hashCode = hashCode * 59 + this.AccountHolderStatus.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
hashCode = hashCode * 59 + this.LegalEnreplacedy.GetHashCode();
if (this.PrimaryCurrency != null)
hashCode = hashCode * 59 + this.PrimaryCurrency.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
if (this.Verification != null)
hashCode = hashCode * 59 + this.Verification.GetHashCode();
return hashCode;
}
}
19
Source : CreateAccountRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.Metadata != null)
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
if (this.PayoutSchedule != null)
hashCode = hashCode * 59 + this.PayoutSchedule.GetHashCode();
if (this.PayoutScheduleReason != null)
hashCode = hashCode * 59 + this.PayoutScheduleReason.GetHashCode();
return hashCode;
}
}
19
Source : GetUploadedDocumentsResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.DoreplacedentDetails != null)
hashCode = hashCode * 59 + this.DoreplacedentDetails.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : KYCCheckStatusData.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.RequiredFields != null)
hashCode = hashCode * 59 + this.RequiredFields.GetHashCode();
hashCode = hashCode * 59 + this.Status.GetHashCode();
if (this.Summary != null)
hashCode = hashCode * 59 + this.Summary.GetHashCode();
hashCode = hashCode * 59 + this.Type.GetHashCode();
return hashCode;
}
}
19
Source : KYCVerificationResult.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolder != null)
hashCode = hashCode * 59 + this.AccountHolder.GetHashCode();
if (this.BankAccounts != null)
hashCode = hashCode * 59 + this.BankAccounts.GetHashCode();
if (this.Shareholders != null)
hashCode = hashCode * 59 + this.Shareholders.GetHashCode();
return hashCode;
}
}
19
Source : PayoutAccountHolderResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.BankAccountUUID != null)
hashCode = hashCode * 59 + this.BankAccountUUID.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.MerchantReference != null)
hashCode = hashCode * 59 + this.MerchantReference.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : KYCShareholderCheckResult.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Checks != null)
hashCode = hashCode * 59 + this.Checks.GetHashCode();
if (this.ShareholderCode != null)
hashCode = hashCode * 59 + this.ShareholderCode.GetHashCode();
return hashCode;
}
}
19
Source : GetAccountHolderResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.AccountHolderDetails != null)
hashCode = hashCode * 59 + this.AccountHolderDetails.GetHashCode();
if (this.AccountHolderStatus != null)
hashCode = hashCode * 59 + this.AccountHolderStatus.GetHashCode();
if (this.Accounts != null)
hashCode = hashCode * 59 + this.Accounts.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
hashCode = hashCode * 59 + this.LegalEnreplacedy.GetHashCode();
if (this.PrimaryCurrency != null)
hashCode = hashCode * 59 + this.PrimaryCurrency.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
if (this.SystemUpToDateTime != null)
hashCode = hashCode * 59 + this.SystemUpToDateTime.GetHashCode();
if (this.Verification != null)
hashCode = hashCode * 59 + this.Verification.GetHashCode();
return hashCode;
}
}
19
Source : GetAccountHolderStatusResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.AccountHolderStatus != null)
hashCode = hashCode * 59 + this.AccountHolderStatus.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : KYCBankAccountCheckResult.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.BankAccountUUID != null)
hashCode = hashCode * 59 + this.BankAccountUUID.GetHashCode();
if (this.Checks != null)
hashCode = hashCode * 59 + this.Checks.GetHashCode();
return hashCode;
}
}
19
Source : RefundFundsTransferResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
if (this.MerchantReference != null)
hashCode = hashCode * 59 + this.MerchantReference.GetHashCode();
if (this.Message != null)
hashCode = hashCode * 59 + this.Message.GetHashCode();
if (this.OriginalReference != null)
hashCode = hashCode * 59 + this.OriginalReference.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
return hashCode;
}
}
19
Source : UpdateAccountHolderResponse.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountHolderCode != null)
hashCode = hashCode * 59 + this.AccountHolderCode.GetHashCode();
if (this.AccountHolderDetails != null)
hashCode = hashCode * 59 + this.AccountHolderDetails.GetHashCode();
if (this.AccountHolderStatus != null)
hashCode = hashCode * 59 + this.AccountHolderStatus.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.InvalidFields != null)
hashCode = hashCode * 59 + this.InvalidFields.GetHashCode();
hashCode = hashCode * 59 + this.LegalEnreplacedy.GetHashCode();
if (this.PrimaryCurrency != null)
hashCode = hashCode * 59 + this.PrimaryCurrency.GetHashCode();
if (this.PspReference != null)
hashCode = hashCode * 59 + this.PspReference.GetHashCode();
if (this.ResultCode != null)
hashCode = hashCode * 59 + this.ResultCode.GetHashCode();
if (this.Verification != null)
hashCode = hashCode * 59 + this.Verification.GetHashCode();
return hashCode;
}
}
19
Source : UpdateAccountRequest.cs
with MIT License
from Adyen
with MIT License
from Adyen
public override int GetHashCode()
{
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.AccountCode != null)
hashCode = hashCode * 59 + this.AccountCode.GetHashCode();
if (this.Description != null)
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.Metadata != null)
hashCode = hashCode * 59 + this.Metadata.GetHashCode();
if (this.PayoutSchedule != null)
hashCode = hashCode * 59 + this.PayoutSchedule.GetHashCode();
return hashCode;
}
}
See More Examples