1313use Akeneo \Pim \ApiClient \Api \FamilyVariantApiInterface ;
1414use Akeneo \Pim \ApiClient \Api \LocaleApiInterface ;
1515use Akeneo \Pim \ApiClient \Api \MeasureFamilyApiInterface ;
16+ use Akeneo \Pim \ApiClient \Api \MeasurementFamilyApiInterface ;
1617use Akeneo \Pim \ApiClient \Api \MediaFileApiInterface ;
1718use Akeneo \Pim \ApiClient \Api \ProductApiInterface ;
1819use Akeneo \Pim \ApiClient \Api \ProductModelApiInterface ;
@@ -72,6 +73,9 @@ class AkeneoPimClient implements AkeneoPimClientInterface
7273 /** @var ProductModelApiInterface */
7374 protected $ productModelApi ;
7475
76+ /** @var MeasurementFamilyApiInterface */
77+ private $ measurementFamilyApi ;
78+
7579 public function __construct (
7680 Authentication $ authentication ,
7781 ProductApiInterface $ productApi ,
@@ -85,6 +89,7 @@ public function __construct(
8589 ChannelApiInterface $ channelApi ,
8690 CurrencyApiInterface $ currencyApi ,
8791 MeasureFamilyApiInterface $ measureFamilyApi ,
92+ MeasurementFamilyApiInterface $ measurementFamilyApi ,
8893 AssociationTypeApiInterface $ associationTypeApi ,
8994 FamilyVariantApiInterface $ familyVariantApi ,
9095 ProductModelApiInterface $ productModelApi
@@ -101,6 +106,7 @@ public function __construct(
101106 $ this ->channelApi = $ channelApi ;
102107 $ this ->currencyApi = $ currencyApi ;
103108 $ this ->measureFamilyApi = $ measureFamilyApi ;
109+ $ this ->measurementFamilyApi = $ measurementFamilyApi ;
104110 $ this ->associationTypeApi = $ associationTypeApi ;
105111 $ this ->familyVariantApi = $ familyVariantApi ;
106112 $ this ->productModelApi = $ productModelApi ;
@@ -210,6 +216,14 @@ public function getMeasureFamilyApi(): MeasureFamilyApiInterface
210216 return $ this ->measureFamilyApi ;
211217 }
212218
219+ /**
220+ * {@inheritdoc}
221+ */
222+ public function getMeasurementFamilyApi (): MeasurementFamilyApiInterface
223+ {
224+ return $ this ->measurementFamilyApi ;
225+ }
226+
213227 /**
214228 * {@inheritdoc}
215229 */
0 commit comments