phpDocumentor

CustomerAddressMapper extends CustomerAddressFactory

Class CustomerAddressMapper

Table of Contents

$countryTranslationRepository  : CustomerAddressCountryTranslationRepository
__construct()  : mixed
createCustomerAddressCountry()  : CustomerAddressCountry
createCustomerAddresses()  : CustomerAddresses
createCustomerAddressId()  : CustomerAddressId
createCustomerAddressIds()  : CustomerAddressIds
createCustomerAddressState()  : CustomerAddressState
createCustomerId()  : CustomerId
createLocationInformation()  : LocationInformation
createPersonalInformation()  : PersonalInformation
mapCustomerAddress()  : CustomerAddress
mapCustomerAddresses()  : CustomerAddresses

Properties

Methods

createLocationInformation()

public createLocationInformation(string $streetName, string $houseNumber, string $postcode, string $city, string $countryName, string $countryIsoCode2[, string $additionalInformation = '' ][, string $suburb = '' ], int $stateId[, string $stateName = '' ]) : LocationInformation
Parameters
$streetName : string
$houseNumber : string
$postcode : string
$city : string
$countryName : string
$countryIsoCode2 : string
$additionalInformation : string = ''
$suburb : string = ''
$stateId : int
$stateName : string = ''
Return values
LocationInformation

createPersonalInformation()

public createPersonalInformation(string $gender, string $firstName, string $lastName[, string $companyName = '' ]) : PersonalInformation
Parameters
$gender : string
$firstName : string
$lastName : string
$companyName : string = ''
Return values
PersonalInformation

mapCustomerAddress()

public mapCustomerAddress(array<string|int, mixed> $addressData[, bool $isDefaultForShipping = false ][, bool $isDefaultForPayment = false ]) : CustomerAddress
Parameters
$addressData : array<string|int, mixed>
$isDefaultForShipping : bool = false
$isDefaultForPayment : bool = false
Tags
throws
Exception
Return values
CustomerAddress

Search results