Api\StructType\ApiAddressDelivery_Type::__construct PHP Method

__construct() public method

Constructor method for AddressDelivery_Type
public __construct ( string $street1 = null, string $street2 = null, string $street3 = null, string $city = null, string $postalCode = null )
$street1 string
$street2 string
$street3 string
$city string
$postalCode string
    public function __construct($street1 = null, $street2 = null, $street3 = null, $city = null, $postalCode = null)
    {
        $this->setStreet1($street1)->setStreet2($street2)->setStreet3($street3)->setCity($city)->setPostalCode($postalCode);
    }