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

com.stripe.model.AlternateStatementDescriptors Maven / Gradle / Ivy

There is a newer version: 28.2.0
Show newest version
package com.stripe.model;

public final class AlternateStatementDescriptors extends StripeObject {
	protected String kana;
	protected String kanji;

	public String getKana() {
		return kana;
	}

	public void setKana(String kana) {
		this.kana = kana;
	}

	public String getKanji() {
		return kanji;
	}

	public void setKanji(String kanji) {
		this.kanji = kanji;
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) {
			return true;
		}
		if (o == null || getClass() != o.getClass()) {
			return false;
		}

		AlternateStatementDescriptors that = (AlternateStatementDescriptors) o;

		if (kana != null ? !kana.equals(that.kana) : that.kana != null) {
			return false;
		}
		return kanji != null ? kanji.equals(that.kanji) : that.kanji == null;
	}

	@Override
	public int hashCode() {
		int result = kana != null ? kana.hashCode() : 0;
		result = 31 * result + (kanji != null ? kanji.hashCode() : 0);
		return result;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy