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

com.paypal.api.payments.AgreementStateDescriptor 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 AgreementStateDescriptor  extends PayPalModel {

	/**
	 * Reason for changing the state of the agreement.
	 */
	private String note;

	/**
	 * The amount and currency of the agreement.
	 */
	private Currency amount;

	/**
	 * Default Constructor
	 */
	public AgreementStateDescriptor() {
	}

	/**
	 * Parameterized Constructor
	 */
	public AgreementStateDescriptor(Currency amount) {
		this.amount = amount;
	}


	/**
	 * Setter for note
	 */
	public AgreementStateDescriptor setNote(String note) {
		this.note = note;
		return this;
	}

	/**
	 * Getter for note
	 */
	public String getNote() {
		return this.note;
	}


	/**
	 * Setter for amount
	 */
	public AgreementStateDescriptor setAmount(Currency amount) {
		this.amount = amount;
		return this;
	}

	/**
	 * Getter for amount
	 */
	public Currency getAmount() {
		return this.amount;
	}


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy