Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.paypal.api.payments;
 public class ShippingCost  extends PayPalModel {

Shipping cost in amount. Range of 0 to 999999.99.
	private Currency amount;

Tax percentage on shipping amount.
	private Tax tax;

Default Constructor
	public ShippingCost() {

Setter for amount
	public ShippingCost setAmount(Currency amount) {
		this. = amount;
		return this;

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

Setter for tax
	public ShippingCost setTax(Tax tax) {
		this. = tax;
		return this;

Getter for tax
	public Tax getTax() {
		return this.;
New to GrepCode? Check out our FAQ X