com.docusign.esign.model.PayPalLegacySettings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docusign-esign-java Show documentation
Show all versions of docusign-esign-java Show documentation
The official DocuSign eSignature JAVA client is based on version 2 of the DocuSign REST API and provides libraries for JAVA application integration. It is recommended that you use this version of the library for new development.
package com.docusign.esign.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Objects;
/** PayPalLegacySettings. */
public class PayPalLegacySettings {
@JsonProperty("currency")
private String currency = null;
@JsonProperty("partner")
private String partner = null;
@JsonProperty("password")
private String password = null;
@JsonProperty("userName")
private String userName = null;
@JsonProperty("vendor")
private String vendor = null;
/**
* currency.
*
* @return PayPalLegacySettings
*/
public PayPalLegacySettings currency(String currency) {
this.currency = currency;
return this;
}
/**
* .
*
* @return currency
*/
@Schema(description = "")
public String getCurrency() {
return currency;
}
/** setCurrency. */
public void setCurrency(String currency) {
this.currency = currency;
}
/**
* partner.
*
* @return PayPalLegacySettings
*/
public PayPalLegacySettings partner(String partner) {
this.partner = partner;
return this;
}
/**
* .
*
* @return partner
*/
@Schema(description = "")
public String getPartner() {
return partner;
}
/** setPartner. */
public void setPartner(String partner) {
this.partner = partner;
}
/**
* password.
*
* @return PayPalLegacySettings
*/
public PayPalLegacySettings password(String password) {
this.password = password;
return this;
}
/**
* .
*
* @return password
*/
@Schema(description = "")
public String getPassword() {
return password;
}
/** setPassword. */
public void setPassword(String password) {
this.password = password;
}
/**
* userName.
*
* @return PayPalLegacySettings
*/
public PayPalLegacySettings userName(String userName) {
this.userName = userName;
return this;
}
/**
* .
*
* @return userName
*/
@Schema(description = "")
public String getUserName() {
return userName;
}
/** setUserName. */
public void setUserName(String userName) {
this.userName = userName;
}
/**
* vendor.
*
* @return PayPalLegacySettings
*/
public PayPalLegacySettings vendor(String vendor) {
this.vendor = vendor;
return this;
}
/**
* .
*
* @return vendor
*/
@Schema(description = "")
public String getVendor() {
return vendor;
}
/** setVendor. */
public void setVendor(String vendor) {
this.vendor = vendor;
}
/**
* Compares objects.
*
* @return true or false depending on comparison result.
*/
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
PayPalLegacySettings payPalLegacySettings = (PayPalLegacySettings) o;
return Objects.equals(this.currency, payPalLegacySettings.currency)
&& Objects.equals(this.partner, payPalLegacySettings.partner)
&& Objects.equals(this.password, payPalLegacySettings.password)
&& Objects.equals(this.userName, payPalLegacySettings.userName)
&& Objects.equals(this.vendor, payPalLegacySettings.vendor);
}
/** Returns the HashCode. */
@Override
public int hashCode() {
return Objects.hash(currency, partner, password, userName, vendor);
}
/** Converts the given object to string. */
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PayPalLegacySettings {\n");
sb.append(" currency: ").append(toIndentedString(currency)).append("\n");
sb.append(" partner: ").append(toIndentedString(partner)).append("\n");
sb.append(" password: ").append(toIndentedString(password)).append("\n");
sb.append(" userName: ").append(toIndentedString(userName)).append("\n");
sb.append(" vendor: ").append(toIndentedString(vendor)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy