You are here

public function Payment::setRemoteState in Commerce Core 8.2

Sets the payment remote state.

Parameters

string $remote_state: The payment remote state.

Return value

$this

Overrides PaymentInterface::setRemoteState

File

modules/payment/src/Entity/Payment.php, line 160

Class

Payment
Defines the payment entity class.

Namespace

Drupal\commerce_payment\Entity

Code

public function setRemoteState($remote_state) {
  $this
    ->set('remote_state', $remote_state);
  return $this;
}