toCustomAttributes abstract method

List<CustomAttribute> toCustomAttributes(
  1. T model
)

Convert typed model back to list of Magento CustomAttribute.

This method should convert your custom model instance back to the format expected by Magento's API.

model your custom model instance Returns a list of CustomAttribute objects for Magento API

Implementation

List<CustomAttribute> toCustomAttributes(T model);