Copied!

AddressMapper

AddressMapper.php : 16

Methods

publicmapAddressFieldTypeToCommerce()

AddressMapper.php : 18
public mapAddressFieldTypeToCommerce(string $newAddressIdentifier, Party $existingParty, Value $sourceAddress, Contact $contact) : Party

Parameters

Name Type Default value Description
$newAddressIdentifier string - -
$existingParty Party - -
$sourceAddress Value - -
$contact Contact - -

Return values

Party

publicmapContactToCommerce()

AddressMapper.php : 25
public mapContactToCommerce(ValueObject $contactContent) : Contact

Parameters

Name Type Default value Description
$contactContent ValueObject - -

Return values

Contact