All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paypal.api.payments.NameValuePair Maven / Gradle / Ivy

There is a newer version: LATEST
Show newest version
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