updating stubs to have fluent setters and retaining deprecated methods

This commit is contained in:
Ganesh Hegde
2013-05-28 10:15:29 +05:30
parent 50b09bdbde
commit 86643ec2df
26 changed files with 1388 additions and 404 deletions

View File

@@ -9,8 +9,9 @@ class Details extends \PPModel {
*/
public function setShipping($shipping) {
$this->shipping = $shipping;
}
return $this;
}
/**
* Amount being charged for shipping.
* @return string
@@ -18,15 +19,17 @@ class Details extends \PPModel {
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
@@ -34,15 +37,17 @@ class Details extends \PPModel {
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
@@ -50,15 +55,17 @@ class Details extends \PPModel {
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
@@ -66,5 +73,6 @@ class Details extends \PPModel {
public function getFee() {
return $this->fee;
}
}