com.paypal.base.rest.PayPalModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-sdk Show documentation
Show all versions of rest-api-sdk Show documentation
PayPal SDK for integrating with the REST APIs
// Generated by delombok at Wed Oct 12 18:15:55 CDT 2016
package com.paypal.base.rest;
public class PayPalModel {
/**
* Returns a JSON string corresponding to object state
*
* @return JSON representation
*/
public String toJSON() {
return JSONFormatter.toJSON(this);
}
@Override
public String toString() {
return toJSON();
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public boolean equals(final java.lang.Object o) {
if (o == this) return true;
if (!(o instanceof PayPalModel)) return false;
final PayPalModel other = (PayPalModel) o;
if (!other.canEqual((java.lang.Object) this)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof PayPalModel;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public int hashCode() {
int result = 1;
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy