Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 public class PaymentTerm  {

Terms by which the invoice payment is due.
	private String termType;

Date on which invoice payment is due. It must be always a future date. Date format: yyyy-MM-dd z. For example, 2014-02-27 PST
	private String dueDate;

Default Constructor
	public PaymentTerm() {

Setter for termType
	public PaymentTerm setTermType(String termType) {
		this. = termType;
		return this;

Getter for termType
	public String getTermType() {
		return this.;

Setter for dueDate
	public PaymentTerm setDueDate(String dueDate) {
		this. = dueDate;
		return this;

Getter for dueDate
	public String getDueDate() {
		return this.;

Returns a JSON string corresponding to object state

JSON representation
	public String toJSON() {
		return JSONFormatter.toJSON(this);
	public String toString() {
		return toJSON();
New to GrepCode? Check out our FAQ X