This repository has been archived on 2026-04-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
PayPal-PHP-SDK/lib/PayPal/Api/Details.php

79 lines
1.3 KiB
PHP

<?php
namespace PayPal\Api;
class Details extends \PPModel {
/**
* Amount being charged for shipping.
* @param string $shipping
*/
public function setShipping($shipping) {
$this->shipping = $shipping;
return $this;
}
/**
* Amount being charged for shipping.
* @return string
*/
public function getShipping() {
return $this->shipping;
}
/**
* Sub-total (amount) of items being paid for.
* @param string $subtotal
*/
public function setSubtotal($subtotal) {
$this->subtotal = $subtotal;
return $this;
}
/**
* Sub-total (amount) of items being paid for.
* @return string
*/
public function getSubtotal() {
return $this->subtotal;
}
/**
* Amount being charged as tax.
* @param string $tax
*/
public function setTax($tax) {
$this->tax = $tax;
return $this;
}
/**
* Amount being charged as tax.
* @return string
*/
public function getTax() {
return $this->tax;
}
/**
* Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment.
* @param string $fee
*/
public function setFee($fee) {
$this->fee = $fee;
return $this;
}
/**
* Fee charged by PayPal. In case of a refund, this is the fee amount refunded to the original receipient of the payment.
* @return string
*/
public function getFee() {
return $this->fee;
}
}