All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paypal.api.payments.FmfDetails Maven / Gradle / Ivy

The newest version!
// Generated by delombok at Thu Nov 16 13:48:05 CST 2017
package com.paypal.api.payments;

import com.paypal.base.rest.PayPalModel;

public class FmfDetails extends PayPalModel {
	/**
	 * Type of filter.
	 */
	private String filterType;
	/**
	 * Filter Identifier.
	 */
	private String filterId;
	/**
	 * Name of the filter
	 */
	private String name;
	/**
	 * Description of the filter.
	 */
	private String description;

	/**
	 * Type of filter.
	 */
	@java.lang.SuppressWarnings("all")
	public String getFilterType() {
		return this.filterType;
	}

	/**
	 * Filter Identifier.
	 */
	@java.lang.SuppressWarnings("all")
	public String getFilterId() {
		return this.filterId;
	}

	/**
	 * Name of the filter
	 */
	@java.lang.SuppressWarnings("all")
	public String getName() {
		return this.name;
	}

	/**
	 * Description of the filter.
	 */
	@java.lang.SuppressWarnings("all")
	public String getDescription() {
		return this.description;
	}

	/**
	 * Type of filter.
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public FmfDetails setFilterType(final String filterType) {
		this.filterType = filterType;
		return this;
	}

	/**
	 * Filter Identifier.
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public FmfDetails setFilterId(final String filterId) {
		this.filterId = filterId;
		return this;
	}

	/**
	 * Name of the filter
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public FmfDetails setName(final String name) {
		this.name = name;
		return this;
	}

	/**
	 * Description of the filter.
	 * @return this
	 */
	@java.lang.SuppressWarnings("all")
	public FmfDetails setDescription(final String description) {
		this.description = description;
		return this;
	}

	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public boolean equals(final java.lang.Object o) {
		if (o == this) return true;
		if (!(o instanceof FmfDetails)) return false;
		final FmfDetails other = (FmfDetails) o;
		if (!other.canEqual((java.lang.Object) this)) return false;
		if (!super.equals(o)) return false;
		final java.lang.Object this$filterType = this.getFilterType();
		final java.lang.Object other$filterType = other.getFilterType();
		if (this$filterType == null ? other$filterType != null : !this$filterType.equals(other$filterType)) return false;
		final java.lang.Object this$filterId = this.getFilterId();
		final java.lang.Object other$filterId = other.getFilterId();
		if (this$filterId == null ? other$filterId != null : !this$filterId.equals(other$filterId)) return false;
		final java.lang.Object this$name = this.getName();
		final java.lang.Object other$name = other.getName();
		if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
		final java.lang.Object this$description = this.getDescription();
		final java.lang.Object other$description = other.getDescription();
		if (this$description == null ? other$description != null : !this$description.equals(other$description)) return false;
		return true;
	}

	@java.lang.SuppressWarnings("all")
	protected boolean canEqual(final java.lang.Object other) {
		return other instanceof FmfDetails;
	}

	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public int hashCode() {
		final int PRIME = 59;
		int result = 1;
		result = result * PRIME + super.hashCode();
		final java.lang.Object $filterType = this.getFilterType();
		result = result * PRIME + ($filterType == null ? 43 : $filterType.hashCode());
		final java.lang.Object $filterId = this.getFilterId();
		result = result * PRIME + ($filterId == null ? 43 : $filterId.hashCode());
		final java.lang.Object $name = this.getName();
		result = result * PRIME + ($name == null ? 43 : $name.hashCode());
		final java.lang.Object $description = this.getDescription();
		result = result * PRIME + ($description == null ? 43 : $description.hashCode());
		return result;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy