Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 public class ShippingAddress extends Address {

Name of the recipient at this address.
	private String recipientName;

Default Constructor
	public ShippingAddress() {

Parameterized Constructor
	public ShippingAddress(String recipientName) {
		this. = recipientName;

Setter for recipientName
	public ShippingAddress setRecipientName(String recipientName) {
		this. = recipientName;
		return this;

Getter for recipientName
	public String getRecipientName() {
		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