Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • AddressBookService
  • CustomerAddress
  • CustomerAddressDeleter
  • CustomerAddressInputValidator
  • CustomerAddressReader
  • CustomerAddressRepository
  • CustomerAddressWriter

Class CustomerAddressWriter

Class CustomerAddressWriter

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

CustomerAddressWriter implements CustomerAddressWriterInterface
Package: Customer\Address
Category: System
Implements: CustomerAddressWriterInterface
Located at CoreServices/Address/CustomerAddressWriter.inc.php

Methods summary

public
# __construct( CI_DB_query_builder $dbQueryBuilder )

Constructor of the class CustomerAddressWriter

Constructor of the class CustomerAddressWriter

Parameters

$dbQueryBuilder
public
# write( CustomerAddressInterface $address )

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

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

Parameters

$address

Implementation of

CustomerAddressWriterInterface::write()
protected CustomerAddressInterface
# _insert( CustomerAddressInterface $address )

Inserts the customer address into the database

Inserts the customer address into the database

Parameters

$address

Returns

CustomerAddressInterface
protected CustomerAddressInterface
# _update( CustomerAddressInterface $address )

Updates an existing customer address in the database

Updates an existing customer address in the database

Parameters

$address

Returns

CustomerAddressInterface

Properties summary

protected CI_DB_query_builder $db
#
API documentation generated by ApiGen