modules/acm/src/APIHelper.php
public function cleanCustomerAddress(array $address) {
    if (isset($address['customer_address_id']) && empty($address['address_id'])) {
      $address['address_id'] = $address['customer_address_id'];
    }

    return $this->cleanAddress($address);
  }
public function cleanCustomerAddress(array $address) {
    if (isset($address['customer_address_id']) && empty($address['address_id'])) {
      $address['address_id'] = $address['customer_address_id'];
    }

    return $this->cleanAddress($address);
  }
public function cleanCustomerAddress ( array $ address ) { if ( isset ( $ address [ 'customer_address_id' ] ) && empty ( $ address [ 'address_id' ] ) ) { $ address [ 'address_id' ] = $ address [ 'customer_address_id' ] ; } return $ this -> cleanAddress ( $ address ) ; }
Get cleaned customer address.

@param array $address
Customer address.

@return array
Cleaned customer address.
Get cleaned customer address .