com.stripe.model.oauth.TokenResponse Maven / Gradle / Ivy
// Generated by delombok at Wed Jun 10 17:29:56 PDT 2020
package com.stripe.model.oauth;
import com.stripe.model.StripeObject;
public class TokenResponse extends StripeObject {
Boolean livemode;
String scope;
String stripeUserId;
@java.lang.SuppressWarnings("all")
@lombok.Generated
public Boolean getLivemode() {
return this.livemode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getScope() {
return this.scope;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getStripeUserId() {
return this.stripeUserId;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setLivemode(final Boolean livemode) {
this.livemode = livemode;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setScope(final String scope) {
this.scope = scope;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
public void setStripeUserId(final String stripeUserId) {
this.stripeUserId = stripeUserId;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof TokenResponse)) return false;
final TokenResponse other = (TokenResponse) o;
if (!other.canEqual((java.lang.Object) this)) return false;
final java.lang.Object this$livemode = this.getLivemode();
final java.lang.Object other$livemode = other.getLivemode();
if (this$livemode == null ? other$livemode != null : !this$livemode.equals(other$livemode)) return false;
final java.lang.Object this$scope = this.getScope();
final java.lang.Object other$scope = other.getScope();
if (this$scope == null ? other$scope != null : !this$scope.equals(other$scope)) return false;
final java.lang.Object this$stripeUserId = this.getStripeUserId();
final java.lang.Object other$stripeUserId = other.getStripeUserId();
if (this$stripeUserId == null ? other$stripeUserId != null : !this$stripeUserId.equals(other$stripeUserId)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
@lombok.Generated
protected boolean canEqual(final java.lang.Object other) {
return other instanceof TokenResponse;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public int hashCode() {
final int PRIME = 59;
int result = 1;
final java.lang.Object $livemode = this.getLivemode();
result = result * PRIME + ($livemode == null ? 43 : $livemode.hashCode());
final java.lang.Object $scope = this.getScope();
result = result * PRIME + ($scope == null ? 43 : $scope.hashCode());
final java.lang.Object $stripeUserId = this.getStripeUserId();
result = result * PRIME + ($stripeUserId == null ? 43 : $stripeUserId.hashCode());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy