Skip to content

Commit a3e9a7f

Browse files
committed
CEXT-2455: fromExternalFormat method in converter classes
1 parent 9d0c1e7 commit a3e9a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/webhooks/hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ The following example configures the webhook described above.
138138

139139
You can implement a converter class to convert a field to a different data type. For example, Commerce stores order IDs as numeric values. If the hook endpoint expects order IDs to be text values, you must convert the numeric value to a string representation before sending the payload.
140140

141-
All converter classes must implement `Magento\AdobeCommerceWebhooks\Model\Filter\Converter\FieldConverterInterface`. The `toExternalFormat` method of a converter class is used to convert a field value before sending a request to the hook endpoint.
141+
All converter classes must implement `Magento\AdobeCommerceWebhooks\Model\Filter\Converter\FieldConverterInterface`. The `toExternalFormat` method of a converter class is used to convert a field value before sending a request to the hook endpoint.
142142

143143
```xml
144144
<fields>

0 commit comments

Comments
 (0)