CustomerAddressWriter

Implements \CustomerAddressWriterInterface

Class CustomerAddressWriter

This class is used for writing customer address data into the database

category

System

package

Customer

subpackage

Address

implements

CustomerAddressWriterInterface

Methods

Constructor of the class CustomerAddressWriter

__construct(\CI_DB_query_builder $dbQueryBuilder) 

Arguments

$dbQueryBuilder

\CI_DB_query_builder

Inserts the customer address into the database

_insert(\CustomerAddressInterface $address) : \CustomerAddressInterface

Updates an existing customer address in the database

_update(\CustomerAddressInterface $address) : \CustomerAddressInterface

Calls the protected insert method to store the customer address into the database

write(\CustomerAddressInterface $address) 

Arguments

Properties

db

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder