Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.paypal.api.payments;
  
  import java.util.List;
  
  
 public class PayoutBatchHeader  {

An ID for the batch payout. Generated by PayPal. 30 characters max.
 
 	private String payoutBatchId;

Generated batch status.
 
 	private String batchStatus;

The time the batch entered processing.
 
 	private String timeCreated;

The time that processing for the batch was completed.
 
 	private String timeCompleted;

The original batch header as provided by the payment sender.
 
Total amount, in U.S. dollars, requested for the applicable payouts.
 
 	private Currency amount;

Total estimate in U.S. dollars for the applicable payouts fees.
 
 	private Currency fees;

 
 	private Error errors;

 
 	private List<Linkslinks;

Default Constructor
 
 	public PayoutBatchHeader() {
 	}

Parameterized Constructor
 
 	public PayoutBatchHeader(String payoutBatchIdString batchStatusString timeCreatedPayoutSenderBatchHeader senderBatchHeaderCurrency amountCurrency fees) {
 		this. = payoutBatchId;
 		this. = batchStatus;
 		this. = timeCreated;
 		this. = senderBatchHeader;
 		this. = amount;
 		this. = fees;
 	}


Setter for payoutBatchId
 
 	public PayoutBatchHeader setPayoutBatchId(String payoutBatchId) {
 		this. = payoutBatchId;
 		return this;
 	}

Getter for payoutBatchId
 
 	public String getPayoutBatchId() {
 		return this.;
 	}


Setter for batchStatus
 
 	public PayoutBatchHeader setBatchStatus(String batchStatus) {
 		this. = batchStatus;
 		return this;
 	}

Getter for batchStatus
	public String getBatchStatus() {
		return this.;
	}


Setter for timeCreated
	public PayoutBatchHeader setTimeCreated(String timeCreated) {
		this. = timeCreated;
		return this;
	}

Getter for timeCreated
	public String getTimeCreated() {
		return this.;
	}


Setter for timeCompleted
	public PayoutBatchHeader setTimeCompleted(String timeCompleted) {
		this. = timeCompleted;
		return this;
	}

Getter for timeCompleted
		return this.;
	}


Setter for senderBatchHeader
		this. = senderBatchHeader;
		return this;
	}

Getter for senderBatchHeader
		return this.;
	}


Setter for amount
		this. = amount;
		return this;
	}

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


Setter for fees
		this. = fees;
		return this;
	}

Getter for fees
	public Currency getFees() {
		return this.;
	}


Setter for errors
	public PayoutBatchHeader setErrors(Error errors) {
		this. = errors;
		return this;
	}

Getter for errors
	public Error getErrors() {
		return this.;
	}

Setter for links
	public PayoutBatchHeader setLinks(List<Linkslinks) {
		this. = links;
		return this;
	}

Getter for links
	public List<LinksgetLinks() {
		return this.;
	}

Returns a JSON string corresponding to object state

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