public function PaymentInterface::setRefundedAmount in Commerce Core 8.2
Sets the refunded payment amount.
Parameters
\Drupal\commerce_price\Price $refunded_amount: The refunded payment amount.
Return value
$this
1 method overrides PaymentInterface::setRefundedAmount()
- Payment::setRefundedAmount in modules/
payment/ src/ Entity/ Payment.php - Sets the refunded payment amount.
File
- modules/
payment/ src/ Entity/ PaymentInterface.php, line 180
Class
- PaymentInterface
- Defines the interface for payments.
Namespace
Drupal\commerce_payment\EntityCode
public function setRefundedAmount(Price $refunded_amount);