mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Fix phpdoc type
This commit is contained in:
parent
57549e445b
commit
ed3cc49856
1 changed files with 14 additions and 14 deletions
|
@ -17,49 +17,49 @@ class AmountBreakdown {
|
||||||
/**
|
/**
|
||||||
* The item total.
|
* The item total.
|
||||||
*
|
*
|
||||||
* @var Money
|
* @var Money|null
|
||||||
*/
|
*/
|
||||||
private $item_total;
|
private $item_total;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The shipping.
|
* The shipping.
|
||||||
*
|
*
|
||||||
* @var Money
|
* @var Money|null
|
||||||
*/
|
*/
|
||||||
private $shipping;
|
private $shipping;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The tax total.
|
* The tax total.
|
||||||
*
|
*
|
||||||
* @var Money
|
* @var Money|null
|
||||||
*/
|
*/
|
||||||
private $tax_total;
|
private $tax_total;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The handling.
|
* The handling.
|
||||||
*
|
*
|
||||||
* @var Money
|
* @var Money|null
|
||||||
*/
|
*/
|
||||||
private $handling;
|
private $handling;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The insurance.
|
* The insurance.
|
||||||
*
|
*
|
||||||
* @var Money
|
* @var Money|null
|
||||||
*/
|
*/
|
||||||
private $insurance;
|
private $insurance;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The shipping discount.
|
* The shipping discount.
|
||||||
*
|
*
|
||||||
* @var Money
|
* @var Money|null
|
||||||
*/
|
*/
|
||||||
private $shipping_discount;
|
private $shipping_discount;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The discount.
|
* The discount.
|
||||||
*
|
*
|
||||||
* @var Money
|
* @var Money|null
|
||||||
*/
|
*/
|
||||||
private $discount;
|
private $discount;
|
||||||
|
|
||||||
|
@ -75,13 +75,13 @@ class AmountBreakdown {
|
||||||
* @param Money|null $discount The discount.
|
* @param Money|null $discount The discount.
|
||||||
*/
|
*/
|
||||||
public function __construct(
|
public function __construct(
|
||||||
Money $item_total = null,
|
?Money $item_total = null,
|
||||||
Money $shipping = null,
|
?Money $shipping = null,
|
||||||
Money $tax_total = null,
|
?Money $tax_total = null,
|
||||||
Money $handling = null,
|
?Money $handling = null,
|
||||||
Money $insurance = null,
|
?Money $insurance = null,
|
||||||
Money $shipping_discount = null,
|
?Money $shipping_discount = null,
|
||||||
Money $discount = null
|
?Money $discount = null
|
||||||
) {
|
) {
|
||||||
|
|
||||||
$this->item_total = $item_total;
|
$this->item_total = $item_total;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue