write
Interface CustomerWriterInterface
System
Customer
Interfaces
write(\CustomerInterface $customer)
If customer does not exists it will perform an _insert(), otherwise it will perform an _update().
\CustomerInterface
Customer.