
com.paypal.api.payments.NameValuePair 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
package com.paypal.api.payments;
import com.paypal.base.rest.PayPalModel;
public class NameValuePair extends PayPalModel {
/**
* Key for the name value pair. The value name types should be correlated
*/
private String name;
/**
* Value for the name value pair.
*/
private String value;
/**
* Default Constructor
*/
public NameValuePair() {
}
/**
* Parameterized Constructor
*/
public NameValuePair(String name, String value) {
this.name = name;
this.value = value;
}
/**
* Setter for name
*/
public NameValuePair setName(String name) {
this.name = name;
return this;
}
/**
* Getter for name
*/
public String getName() {
return this.name;
}
/**
* Setter for value
*/
public NameValuePair setValue(String value) {
this.value = value;
return this;
}
/**
* Getter for value
*/
public String getValue() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy