public function Payment::getRemoteState in Commerce Core 8.2
Gets the payment remote state.
Return value
string The payment remote state.
Overrides PaymentInterface::getRemoteState
File
- modules/
payment/ src/ Entity/ Payment.php, line 153
Class
- Payment
- Defines the payment entity class.
Namespace
Drupal\commerce_payment\EntityCode
public function getRemoteState() {
return $this
->get('remote_state')->value;
}