You are here

public function LingotekIntelligenceService::setPurchaseOrder in Lingotek Translation 4.0.x

Same name and namespace in other branches
  1. 8.2 src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  2. 3.0.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  3. 3.1.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  4. 3.2.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  5. 3.3.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  6. 3.4.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  7. 3.5.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  8. 3.6.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  9. 3.7.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()
  10. 3.8.x src/LingotekIntelligenceService.php \Drupal\lingotek\LingotekIntelligenceService::setPurchaseOrder()

Sets the Purchase Order associated with the purchase of the translation.

Parameters

string $purchase_order: The Purchase Order.

Return value

$this

Overrides LingotekIntelligenceMetadataInterface::setPurchaseOrder

File

src/LingotekIntelligenceService.php, line 180

Class

LingotekIntelligenceService
Service for managing Lingotek Intelligence related configuration.

Namespace

Drupal\lingotek

Code

public function setPurchaseOrder($purchase_order) {
  return $this
    ->setValue('purchase_order', $purchase_order);
}