Update address

You can update an Address by specifying new property values.

$addressReq = Pencepay_Request_Address::build()
    ->addressLine1("Updated street name 123")
    ->postalCode("51000")
    ->city("Rijeka");

$address = Pencepay_Address::update('address_uid', 'customer_uid', $addressReq);

Result

Address object is returned on success.