You are here

public function AvailabilityResult::getReason in Commerce Core 8.2

Gets the "reason".

Return value

string|null The "reason" for this availability result, NULL when not provided.

File

modules/order/src/AvailabilityResult.php, line 68

Class

AvailabilityResult
Provides a value object representing the "availability" of an order item.

Namespace

Drupal\commerce_order

Code

public function getReason() {
  return $this->reason;
}