com.paypal.api.payments.Search 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 Search extends PayPalModel {
/**
* The initial letters of the email address.
*/
private String email;
/**
* The initial letters of the recipient's first name.
*/
private String recipientFirstName;
/**
* The initial letters of the recipient's last name.
*/
private String recipientLastName;
/**
* The initial letters of the recipient's business name.
*/
private String recipientBusinessName;
/**
* The invoice number.
*/
private String number;
/**
* The invoice status.
*/
private String status;
/**
* The lower limit of the total amount.
*/
private Currency lowerTotalAmount;
/**
* The upper limit of total amount.
*/
private Currency upperTotalAmount;
/**
* The start date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String startInvoiceDate;
/**
* The end date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String endInvoiceDate;
/**
* The start due date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String startDueDate;
/**
* The end due date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String endDueDate;
/**
* The start payment date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String startPaymentDate;
/**
* The end payment date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String endPaymentDate;
/**
* The start creation date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String startCreationDate;
/**
* The end creation date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
private String endCreationDate;
/**
* The offset for the search results.
*/
private float page;
/**
* The page size for the search results.
*/
private float pageSize;
/**
* Indicates whether the total count appears in the response. Default is `false`.
*/
private Boolean totalCountRequired;
/**
* A flag indicating whether search is on invoices archived by merchant. true - returns archived / false returns unarchived / null returns all.
*/
private Boolean archived;
/**
* Default Constructor
*/
public Search() {
}
/**
* The initial letters of the email address.
*/
@java.lang.SuppressWarnings("all")
public String getEmail() {
return this.email;
}
/**
* The initial letters of the recipient's first name.
*/
@java.lang.SuppressWarnings("all")
public String getRecipientFirstName() {
return this.recipientFirstName;
}
/**
* The initial letters of the recipient's last name.
*/
@java.lang.SuppressWarnings("all")
public String getRecipientLastName() {
return this.recipientLastName;
}
/**
* The initial letters of the recipient's business name.
*/
@java.lang.SuppressWarnings("all")
public String getRecipientBusinessName() {
return this.recipientBusinessName;
}
/**
* The invoice number.
*/
@java.lang.SuppressWarnings("all")
public String getNumber() {
return this.number;
}
/**
* The invoice status.
*/
@java.lang.SuppressWarnings("all")
public String getStatus() {
return this.status;
}
/**
* The lower limit of the total amount.
*/
@java.lang.SuppressWarnings("all")
public Currency getLowerTotalAmount() {
return this.lowerTotalAmount;
}
/**
* The upper limit of total amount.
*/
@java.lang.SuppressWarnings("all")
public Currency getUpperTotalAmount() {
return this.upperTotalAmount;
}
/**
* The start date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getStartInvoiceDate() {
return this.startInvoiceDate;
}
/**
* The end date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getEndInvoiceDate() {
return this.endInvoiceDate;
}
/**
* The start due date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getStartDueDate() {
return this.startDueDate;
}
/**
* The end due date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getEndDueDate() {
return this.endDueDate;
}
/**
* The start payment date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getStartPaymentDate() {
return this.startPaymentDate;
}
/**
* The end payment date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getEndPaymentDate() {
return this.endPaymentDate;
}
/**
* The start creation date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getStartCreationDate() {
return this.startCreationDate;
}
/**
* The end creation date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
*/
@java.lang.SuppressWarnings("all")
public String getEndCreationDate() {
return this.endCreationDate;
}
/**
* The offset for the search results.
*/
@java.lang.SuppressWarnings("all")
public float getPage() {
return this.page;
}
/**
* The page size for the search results.
*/
@java.lang.SuppressWarnings("all")
public float getPageSize() {
return this.pageSize;
}
/**
* Indicates whether the total count appears in the response. Default is `false`.
*/
@java.lang.SuppressWarnings("all")
public Boolean getTotalCountRequired() {
return this.totalCountRequired;
}
/**
* A flag indicating whether search is on invoices archived by merchant. true - returns archived / false returns unarchived / null returns all.
*/
@java.lang.SuppressWarnings("all")
public Boolean getArchived() {
return this.archived;
}
/**
* The initial letters of the email address.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setEmail(final String email) {
this.email = email;
return this;
}
/**
* The initial letters of the recipient's first name.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setRecipientFirstName(final String recipientFirstName) {
this.recipientFirstName = recipientFirstName;
return this;
}
/**
* The initial letters of the recipient's last name.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setRecipientLastName(final String recipientLastName) {
this.recipientLastName = recipientLastName;
return this;
}
/**
* The initial letters of the recipient's business name.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setRecipientBusinessName(final String recipientBusinessName) {
this.recipientBusinessName = recipientBusinessName;
return this;
}
/**
* The invoice number.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setNumber(final String number) {
this.number = number;
return this;
}
/**
* The invoice status.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setStatus(final String status) {
this.status = status;
return this;
}
/**
* The lower limit of the total amount.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setLowerTotalAmount(final Currency lowerTotalAmount) {
this.lowerTotalAmount = lowerTotalAmount;
return this;
}
/**
* The upper limit of total amount.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setUpperTotalAmount(final Currency upperTotalAmount) {
this.upperTotalAmount = upperTotalAmount;
return this;
}
/**
* The start date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setStartInvoiceDate(final String startInvoiceDate) {
this.startInvoiceDate = startInvoiceDate;
return this;
}
/**
* The end date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setEndInvoiceDate(final String endInvoiceDate) {
this.endInvoiceDate = endInvoiceDate;
return this;
}
/**
* The start due date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setStartDueDate(final String startDueDate) {
this.startDueDate = startDueDate;
return this;
}
/**
* The end due date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setEndDueDate(final String endDueDate) {
this.endDueDate = endDueDate;
return this;
}
/**
* The start payment date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setStartPaymentDate(final String startPaymentDate) {
this.startPaymentDate = startPaymentDate;
return this;
}
/**
* The end payment date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setEndPaymentDate(final String endPaymentDate) {
this.endPaymentDate = endPaymentDate;
return this;
}
/**
* The start creation date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setStartCreationDate(final String startCreationDate) {
this.startCreationDate = startCreationDate;
return this;
}
/**
* The end creation date for the invoice. Date format is *yyyy*-*MM*-*dd* *z*, as defined in [Internet Date/Time Format](http://tools.ietf.org/html/rfc3339#section-5.6).
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setEndCreationDate(final String endCreationDate) {
this.endCreationDate = endCreationDate;
return this;
}
/**
* The offset for the search results.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setPage(final float page) {
this.page = page;
return this;
}
/**
* The page size for the search results.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setPageSize(final float pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* Indicates whether the total count appears in the response. Default is `false`.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setTotalCountRequired(final Boolean totalCountRequired) {
this.totalCountRequired = totalCountRequired;
return this;
}
/**
* A flag indicating whether search is on invoices archived by merchant. true - returns archived / false returns unarchived / null returns all.
* @return this
*/
@java.lang.SuppressWarnings("all")
public Search setArchived(final Boolean archived) {
this.archived = archived;
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 Search)) return false;
final Search other = (Search) o;
if (!other.canEqual((java.lang.Object) this)) return false;
if (!super.equals(o)) return false;
final java.lang.Object this$email = this.getEmail();
final java.lang.Object other$email = other.getEmail();
if (this$email == null ? other$email != null : !this$email.equals(other$email)) return false;
final java.lang.Object this$recipientFirstName = this.getRecipientFirstName();
final java.lang.Object other$recipientFirstName = other.getRecipientFirstName();
if (this$recipientFirstName == null ? other$recipientFirstName != null : !this$recipientFirstName.equals(other$recipientFirstName)) return false;
final java.lang.Object this$recipientLastName = this.getRecipientLastName();
final java.lang.Object other$recipientLastName = other.getRecipientLastName();
if (this$recipientLastName == null ? other$recipientLastName != null : !this$recipientLastName.equals(other$recipientLastName)) return false;
final java.lang.Object this$recipientBusinessName = this.getRecipientBusinessName();
final java.lang.Object other$recipientBusinessName = other.getRecipientBusinessName();
if (this$recipientBusinessName == null ? other$recipientBusinessName != null : !this$recipientBusinessName.equals(other$recipientBusinessName)) return false;
final java.lang.Object this$number = this.getNumber();
final java.lang.Object other$number = other.getNumber();
if (this$number == null ? other$number != null : !this$number.equals(other$number)) return false;
final java.lang.Object this$status = this.getStatus();
final java.lang.Object other$status = other.getStatus();
if (this$status == null ? other$status != null : !this$status.equals(other$status)) return false;
final java.lang.Object this$lowerTotalAmount = this.getLowerTotalAmount();
final java.lang.Object other$lowerTotalAmount = other.getLowerTotalAmount();
if (this$lowerTotalAmount == null ? other$lowerTotalAmount != null : !this$lowerTotalAmount.equals(other$lowerTotalAmount)) return false;
final java.lang.Object this$upperTotalAmount = this.getUpperTotalAmount();
final java.lang.Object other$upperTotalAmount = other.getUpperTotalAmount();
if (this$upperTotalAmount == null ? other$upperTotalAmount != null : !this$upperTotalAmount.equals(other$upperTotalAmount)) return false;
final java.lang.Object this$startInvoiceDate = this.getStartInvoiceDate();
final java.lang.Object other$startInvoiceDate = other.getStartInvoiceDate();
if (this$startInvoiceDate == null ? other$startInvoiceDate != null : !this$startInvoiceDate.equals(other$startInvoiceDate)) return false;
final java.lang.Object this$endInvoiceDate = this.getEndInvoiceDate();
final java.lang.Object other$endInvoiceDate = other.getEndInvoiceDate();
if (this$endInvoiceDate == null ? other$endInvoiceDate != null : !this$endInvoiceDate.equals(other$endInvoiceDate)) return false;
final java.lang.Object this$startDueDate = this.getStartDueDate();
final java.lang.Object other$startDueDate = other.getStartDueDate();
if (this$startDueDate == null ? other$startDueDate != null : !this$startDueDate.equals(other$startDueDate)) return false;
final java.lang.Object this$endDueDate = this.getEndDueDate();
final java.lang.Object other$endDueDate = other.getEndDueDate();
if (this$endDueDate == null ? other$endDueDate != null : !this$endDueDate.equals(other$endDueDate)) return false;
final java.lang.Object this$startPaymentDate = this.getStartPaymentDate();
final java.lang.Object other$startPaymentDate = other.getStartPaymentDate();
if (this$startPaymentDate == null ? other$startPaymentDate != null : !this$startPaymentDate.equals(other$startPaymentDate)) return false;
final java.lang.Object this$endPaymentDate = this.getEndPaymentDate();
final java.lang.Object other$endPaymentDate = other.getEndPaymentDate();
if (this$endPaymentDate == null ? other$endPaymentDate != null : !this$endPaymentDate.equals(other$endPaymentDate)) return false;
final java.lang.Object this$startCreationDate = this.getStartCreationDate();
final java.lang.Object other$startCreationDate = other.getStartCreationDate();
if (this$startCreationDate == null ? other$startCreationDate != null : !this$startCreationDate.equals(other$startCreationDate)) return false;
final java.lang.Object this$endCreationDate = this.getEndCreationDate();
final java.lang.Object other$endCreationDate = other.getEndCreationDate();
if (this$endCreationDate == null ? other$endCreationDate != null : !this$endCreationDate.equals(other$endCreationDate)) return false;
if (java.lang.Float.compare(this.getPage(), other.getPage()) != 0) return false;
if (java.lang.Float.compare(this.getPageSize(), other.getPageSize()) != 0) return false;
final java.lang.Object this$totalCountRequired = this.getTotalCountRequired();
final java.lang.Object other$totalCountRequired = other.getTotalCountRequired();
if (this$totalCountRequired == null ? other$totalCountRequired != null : !this$totalCountRequired.equals(other$totalCountRequired)) return false;
final java.lang.Object this$archived = this.getArchived();
final java.lang.Object other$archived = other.getArchived();
if (this$archived == null ? other$archived != null : !this$archived.equals(other$archived)) return false;
return true;
}
@java.lang.SuppressWarnings("all")
protected boolean canEqual(final java.lang.Object other) {
return other instanceof Search;
}
@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 $email = this.getEmail();
result = result * PRIME + ($email == null ? 43 : $email.hashCode());
final java.lang.Object $recipientFirstName = this.getRecipientFirstName();
result = result * PRIME + ($recipientFirstName == null ? 43 : $recipientFirstName.hashCode());
final java.lang.Object $recipientLastName = this.getRecipientLastName();
result = result * PRIME + ($recipientLastName == null ? 43 : $recipientLastName.hashCode());
final java.lang.Object $recipientBusinessName = this.getRecipientBusinessName();
result = result * PRIME + ($recipientBusinessName == null ? 43 : $recipientBusinessName.hashCode());
final java.lang.Object $number = this.getNumber();
result = result * PRIME + ($number == null ? 43 : $number.hashCode());
final java.lang.Object $status = this.getStatus();
result = result * PRIME + ($status == null ? 43 : $status.hashCode());
final java.lang.Object $lowerTotalAmount = this.getLowerTotalAmount();
result = result * PRIME + ($lowerTotalAmount == null ? 43 : $lowerTotalAmount.hashCode());
final java.lang.Object $upperTotalAmount = this.getUpperTotalAmount();
result = result * PRIME + ($upperTotalAmount == null ? 43 : $upperTotalAmount.hashCode());
final java.lang.Object $startInvoiceDate = this.getStartInvoiceDate();
result = result * PRIME + ($startInvoiceDate == null ? 43 : $startInvoiceDate.hashCode());
final java.lang.Object $endInvoiceDate = this.getEndInvoiceDate();
result = result * PRIME + ($endInvoiceDate == null ? 43 : $endInvoiceDate.hashCode());
final java.lang.Object $startDueDate = this.getStartDueDate();
result = result * PRIME + ($startDueDate == null ? 43 : $startDueDate.hashCode());
final java.lang.Object $endDueDate = this.getEndDueDate();
result = result * PRIME + ($endDueDate == null ? 43 : $endDueDate.hashCode());
final java.lang.Object $startPaymentDate = this.getStartPaymentDate();
result = result * PRIME + ($startPaymentDate == null ? 43 : $startPaymentDate.hashCode());
final java.lang.Object $endPaymentDate = this.getEndPaymentDate();
result = result * PRIME + ($endPaymentDate == null ? 43 : $endPaymentDate.hashCode());
final java.lang.Object $startCreationDate = this.getStartCreationDate();
result = result * PRIME + ($startCreationDate == null ? 43 : $startCreationDate.hashCode());
final java.lang.Object $endCreationDate = this.getEndCreationDate();
result = result * PRIME + ($endCreationDate == null ? 43 : $endCreationDate.hashCode());
result = result * PRIME + java.lang.Float.floatToIntBits(this.getPage());
result = result * PRIME + java.lang.Float.floatToIntBits(this.getPageSize());
final java.lang.Object $totalCountRequired = this.getTotalCountRequired();
result = result * PRIME + ($totalCountRequired == null ? 43 : $totalCountRequired.hashCode());
final java.lang.Object $archived = this.getArchived();
result = result * PRIME + ($archived == null ? 43 : $archived.hashCode());
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy