com.paypal.api.payments.Billing 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.api.payments;
import com.paypal.base.rest.PayPalModel;
public class Billing extends PayPalModel {
/**
* Identifier of the instrument in PayPal Wallet
*/
private String billingAgreementId;
/**
* Default Constructor
*/
public Billing() {
}
/**
* Identifier of the instrument in PayPal Wallet
*/
@java.lang.SuppressWarnings("all")
public String getBillingAgreementId() {
return this.billingAgreementId;
}
/**
* Identifier of the instrument in PayPal Wallet
* @return this
*/
@java.lang.SuppressWarnings("all")
public Billing setBillingAgreementId(final String billingAgreementId) {
this.billingAgreementId = billingAgreementId;
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 Billing)) return false;
final Billing other = (Billing) o;
if (!other.canEqual((java.lang.Object) this)) return false;
if (!super.equals(o)) return false;
final java.lang.Object this$billingAgreementId = this.getBillingAgreementId();
final java.lang.Object other$billingAgreementId = other.getBillingAgreementId();
if (this$billingAgreementId == null ? other$billingAgreementId != null : !this$billingAgreementId.equals(other$billingAgreementId)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Billing;
}
@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 $billingAgreementId = this.getBillingAgreementId();
result = result * PRIME + ($billingAgreementId == null ? 43 : $billingAgreementId.hashCode());
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy