
com.paypal.api.payments.ShippingCost 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 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 = amount;
return this;
}
/**
* Getter for amount
*/
public Currency getAmount() {
return this.amount;
}
/**
* Setter for tax
*/
public ShippingCost setTax(Tax tax) {
this.tax = tax;
return this;
}
/**
* Getter for tax
*/
public Tax getTax() {
return this.tax;
}
}