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