/**
  * Get payment extension attributes
  * @param InfoInterface $payment
  * @return OrderPaymentExtensionInterface
  */
 private function getExtensionAttributes(InfoInterface $payment)
 {
     $extensionAttributes = $payment->getExtensionAttributes();
     if (null === $extensionAttributes) {
         $extensionAttributes = $this->paymentExtensionFactory->create();
         $payment->setExtensionAttributes($extensionAttributes);
     }
     return $extensionAttributes;
 }